title: How to keep the sequence in javascript Map?
body: <p>i have myData map as below</p>
  
  <pre><code> var myData =  new Object();
  
   myData[10427] = "Description 10427";
   myData[10504] = "Description 10504";
   myData[10419] = "Description 10419";
  </code></pre>
  
  <p>but now when i iterate over myData, i don't get same sequnce in chrome and IE works fine in firefox. It iterates in ascending order of key</p>
  
  <pre><code>for (var key in myData) {
    alert("key is"+key);
    }
  </code></pre>
  
  <p>i get the output in ascending order in alert as <code>10419,10427,10504</code></p>
  
  <p>How i can make sure to iterate in same order as data as inserted in map?</p>