JS dla tablicy z indeksem
for (const [index, value] of [1, 2, 3, 4, 5].entries()) {
console.log(index, value);
}
inibir
for (const [index, value] of [1, 2, 3, 4, 5].entries()) {
console.log(index, value);
}