title: Convert two arrays into an array of Hash pairs
body: <p>I have two arrays: </p>
  
  <pre><code>dates = [1,2,3]
  values = [10,20,30]
  </code></pre>
  
  <p>How can I combine them like this?</p>
  
  <pre><code>[{date:1,value:10},{date:2,value:20}...etc]
  </code></pre>