Grids: Arrays of Arrays

Keep data that comes in rows and columns in an array of arrays, read or change one square with grid[row][col], rows first and both counted from 0, and visit every square with a loop inside a loop.

By

Updated

Cheat sheet for Grids: Arrays of Arrays in JavaScript: rows first, then columns, both counted from 0
Category
JavaScript
Level
Apprentice
Tags
Array Index (javascript), JavaScript, Nested Array, Nested Loop (javascript)