Hacker News new | ask | show | jobs
by hzoo 3709 days ago
Yeah, there will be Object.keys/Object.values/Object.entries and you can use it in an for of loop.

for (let [key, value] of Object.entries({a: 1})) { console.log(key, value); }