September 27, 2019October 10, 2019 How to iterate over dictionary/map items in JavaScript const object1 = { a: '1', b: 2 }; for (let [key, value] of Object.entries(object1)) { console.log(key); console.log(value); };