1703174984

Javascript code challenge


**Who can explain what this code does?** ![the image](https://i.ytimg.com/vi/W-re1HvJIR0/maxresdefault.jpg) ```js const grid = []; const cells = 64; let row; for(let x = 0; x < cells +1; x++) { if(counter % 8 == 0) { if(row != undefine) { grid.push(row); } row = []; } counter++; let temp = counter; row.push(temp); } console.table(grid); ``` If you have the answer please leave it here in the comments 👇🏻👇🏻.

(0) Comments