title: How to create dynamic Map key in javascript?
body: <p>I have tried to create a map like example below...</p>
  
  <pre><code>var myMap= {"one": 1,"two": "two","three": 3.0};
  </code></pre>
  
  <p>So, I iterate them like:</p>
  
  <pre><code>for (var key in myMap) {
  
  window.alert("myMapmap property \"" + key + "\" = " + myMap[key]);
  
  }
  </code></pre>
  
  <p>If my data is <strong>dynamic</strong>... and I want to add each of them in to map... how the codes should be like? And I expect the key is not static...I mean the data taken from other source like database, that wasn't define before..</p>
  
  <p>Thanks before</p>