title: Javascript multidimentional array undefined object error
body: <p>I am trying to make a two dimensional array out of two one dimentional arrays with this code:</p>
  
  <pre><code>  var PassAssoArr = new Array();
    for(k in PassPourcentNames) {
      PassAssoArr[k][0] = PassPourcentNames[k]
      PassAssoArr[k][1] = PassPourcentValue[k]
    }
  </code></pre>
  
  <p>However, I get the error message: " 'undefined' is null or not an object " and it points to the first line after the for statement.
  PassPourcentNames and PassPourcentValue have the same number of elements and none of the values are null. The first one contain strings and the second one integers.</p>
  
  <p>Any help is greatly apreciated.</p>