I’m using the following array:
[[[], [], []], [[], [], []], [[], [], []], [[], [], []], [[], [], []]]
It’s an array that contains five times an array that contains three arrays. Is there a shorter syntax for declaring this? – I tried:
new Array(5).fill(new Array(3).fill(new Array()))
But that doesn’t work.