title: How do I create a map from 2 arrays?
body: <p>I have a string array and an integer array. How do I create a map using the first as keys and the second as values?</p>
  
  <pre><code>val keys = arrayOf("butter", "milk", "apples")
  val values = arrayOf(5, 10, 42)
  val map: Map&lt;String, Int&gt; = ???
  </code></pre>
  
  <p><a href="https://stackoverflow.com/questions/32935470/how-to-convert-list-to-map-in-kotlin">How to convert List to Map in Kotlin?</a> doesn't solve this problem; I have 2 arrays and want a single map.</p>