Help creating an array in a game variable

I want to use this script call to make an array 
$gameVariables.setValue(var, value);


I know in VX Ace you could use (i think)


$gamevariable[1][0] = blah blah


$gamevariable[1][1] = blah blah


etc


To make an array. I'm hoping I could do the same thing with this, I just do not know the proper syntax.
maybe you can try this

Code:
$gameVariables.setValue(var, []);
maybe you can try this



$gameVariables.setValue(var, []);



Oh my god. It was that simple. Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/help-creating-an-array-in-a-game-variable.57907/