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