title: Map single key multiple values using new Map() - javascript
body: <p>I need to map single key with multiple values using Map(). But my values keep on getting overwritten. Help.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var myMap = new Map();
  
  myMap.set("1","A");
  myMap.set("1","B");</code></pre>
  </div>
  </div>
  </p>