title: Push to a javascript array if it exists, if not then create it first
body: <p>Is there a way for this line to always work and not throw <code>TypeError: Cannot read property 'Whatever' of undefined</code></p>
  
  <pre><code>var MyArray = [];
  MyArray[StringVariableName][StringVariableName2].push("whatever");
  </code></pre>