4 ms·
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.l
by hzoo 10y 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); }