><div class="qm-docs-topic-body"><div class="qm-html-paragraph"><div class="docs-examples"><div class="docs-examples"><div class="qm-code-highlight-codeblock language-js"><pre><code class="qm-code-font"><span class="hljs-comment">// create an empty map</span>
<span class="hljs-keyword">var</span> map = <span class="hljs-keyword">new</span> hx.Map;

map.set(<span class="hljs-string">'a'</span>, <span class="hljs-number">1</span>);
map.set(<span class="hljs-string">'b'</span>, <span class="hljs-number">2</spa