Does Kotlin have a syntax for Map literals? : <p>In JavaScript: <code>{foo: bar, biz: qux}</code>.</p>

<p>In Ruby: <code>{foo =&gt; bar, biz =&gt; qux}</code>.</p>

<p>In Java:</p>

<pre><code>HashMap&lt;K, V&gt; map = new HashMap&lt;&gt;();
map.put(foo, bar);
map.put(biz, qux);
</code></pre>

<p>Surely Kotlin can do better than Java?</p>
