As far as I know, it is not possible to redeclare a const array.
However when I declare arr inside the loop, it seems that arr is redeclare for each iteration.
I don't understand this situation, does for loop create a new scope for each time i change?
for (let i=0; i<5; i++){
const arr = [];
arr.push(i);
console.log(arr[0]);
}
//console: 0 1 2 3 4
Constants cannot change through re-assignment or be re-declared. Since you're just adding to the array you aren't doing either of those.