how to use 3 dimensional array in js code example Example: how to declare 3d array in javascript var myArray = [[[]]];