loading

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.17249595008435104","path":"main.js","file":{"path":"main.js","content":{"asEncoding":{"base64":"dmFyIGpzRnJhbWV3b3JrID0geyduYW1lJzonUmVhY3QnLCdjcmVhdG9yJzonRmFjZWJvb2snLCdwdXJwb3NlJzonVUlzJ30KCi8vIEVTNyBPYmplY3QudmFsdWVzIGluIEFycmF5CmZvciAoY29uc3QgdmFsIG9mIE9iamVjdC52YWx1ZXMoanNGcmFtZXdvcmspKSB7CiAgICBjb25zb2xlLmxvZyh2YWwpOwp9CgovLyBFUzcgT2JqZWN0LmVudHJpZXMgaW50byBBcnJheQpmb3IgKGNvbnN0IFtrZXksdmFsdWVdIG9mIE9iamVjdC5lbnRyaWVzKGpzRnJhbWV3b3JrKSkgewogICAgY29uc29sZS5sb2coa2V5KycgOiAnKyB2YWx1ZSk7Cn0="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
var jsFramework = {'name':'React','creator':'Facebook','purpose':'UIs'}

// ES7 Object.values in Array
for (const val of Object.values(jsFramework)) {
    console.log(val);
}

// ES7 Object.entries into Array
for (const [key,value] of Object.entries(jsFramework)) {
    console.log(key+' : '+ value);
}
Native Browser JavaScript