const clickedspaces = [
[0, 0],
[0, 0, 0],
[0, 0],
[0, 0, 0],
[0, 0],
];
clickedspaces[0[0]] = 1;
console.log(clickedspaces);
// What shows up in the console:
(5) [Array(2), Array(3), Array(2), Array(3), Array(2), undefined: 1]
0: (2) [0, 0]
1: (3) [0, 0, 0]
2: (2) [0, 0]
3: (3) [0, 0, 0]
4: (2) [0, 0]
undefined: 1
length: 5
__proto__: Array(0)
I'm trying to assign the value of the first integer there to 1.
clickedspaces[0]
The above code would target the first array [0, 0] but I don't know how you might target the
