2018-01-09 15:36:42 +01:00

6 lines
92 B
JavaScript

const x = [];
for (const y of x) {}
const arr = Object.entries(x);
for (const y of arr) {}