el="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>There are two possible constructors:</p>
<p><code>new go.Map()</code>, for JavaScript</p>
<p><code>new go.Map&lt;K, V&gt;()</code> for TypeScript</p>
<p>In TypeScript, the two optional generic arguments describe the types of keys
and the types of values that this Map may hold.</p>
<p>For example, the expression