Is it possible to define and initialize multidimensional arrays in JavaScript in one line of code?
<p>Sorry if this is too basic, but I am struggling at defining 4-dimensional array (of size 6x6x6x6) in JavaScript and initializing it to all 1's. What's the easiest way to do this?</p>

<p>Thanks!</p>
