// Basic Javascript Nested Loop / 2D Array for (var x = 0; x < 10; x++) { for (var y = 0; y < 10; y++) { console.log("x: " + x + ", y: " + y); } }