title: JSON.stringify doesn't work with normal Javascript array
body: <p>I must be missing something here, but the following code (<a href="http://jsfiddle.net/qLjLY/" rel="noreferrer">Fiddle</a>) returns an empty string:</p>
  
  <pre><code>var test = new Array();
  test['a'] = 'test';
  test['b'] = 'test b';
  var json = JSON.stringify(test);
  alert(json);
  </code></pre>
  
  <p>What is the correct way of JSON'ing this array?</p>