title: Is a JavaScript array order guaranteed?
body: <p>Assuming a JavaScript array is posted in a form (using ajax/JQuery)
  is the order in the array guaranteed?</p>
  
  <p>Valid question from @Quentin
  "Define 'posted in a form'"</p>
  
  <pre><code>$.ajax({
    type: "POST",
    url: url,
    data: { foo: [{ name: "one" }, { name: "two" }] },
    success: success,
    dataType: dataType
  });
  </code></pre>
  
  <p>Expanding on the question (because of the above),
  Is the array guaranteed to preserve the order on the server side?</p>