I want to traverse through JavaScript object\'s property
var obj = { a: \'value1\', b: \'value2\', c: \'value3\', d: \'va
Using ecmascript2017: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries
const object1 = { a: 'somestring', b: 42 }; for (let [key, value] of Object.entries(object1)) { console.log(`${key}: ${value}`); }