Is there a way to expand a multidimensional array of unknown size without relying on a Google Sheets spreadsheet to manage the data? I've searched everywhere but can't find an example for a 3-dimensional array.
Here's the challenge I'm facing:
var aDirTree=[];
aDirTree[0][0][0]="myName1";
aDirTree[0][0][1]="myURL1";
aDirTree[1][0][0]="myName2";
aDirTree[1][0][1]="myURL2";
//Certain elements are being skipped
aDirTree[2][5][0]="myName3";
aDirTree[2][5][1]="myURL3";
Is there a way to handle the skipped values as null? I have a hunch that a push method might help solve this.