title: Storing value in a multidimensional array (Javascript)
body: <p>What is the quickest way to store a value in an array at position, let's say, [30][1][0] ...</p>
  
  <p>I tried <code>var myArray[30][1][0] = new Date();</code> but it won't work without doing <code>var myArray = []; myArray[30] = []; myArray[30][1] = [];</code>  beforehand.  </p>
  
  <p>What am I doing wrong?</p>
  
  <p>EDIT:  My issue is that I don't know, first, if the variable myArray already exists and, second, if there's already a value at position, let's say, [29][2][15], which I wouldn't want to overwrite. </p>