title: JavaScript array not recognized
body: <p>I have a problem. </p>
  
  <p>I have the following JavaScript array created:</p>
  
  <pre><code>    &lt;script type="text/javascript"&gt;
        ArrayName['FirstValue']['SecondValue'] = {
         name = 'checbox_id'
         checked = true }
      &lt;/script&gt;
  </code></pre>
  
  <p>But when I call the Global Array in a function here is a sample call:</p>
  
  <pre><code>    ArrayName[value1][value2] = true;
  </code></pre>
  
  <p>I'm getting a messaging stating that ArrayName is undefined.</p>
  
  <p>What would a correct way to create an array similar to the one above?</p>