title: Making an Array in an Array into Objects
body: <p>Best way to convert</p>
  
  <pre><code>a = [['tokyo', '10', '20'],['newyork', '30', '40'],['singapore', '50', '60']];
  </code></pre>
  
  <p>to</p>
  
  <pre><code>a = [{city:'tokyo', lat:'10', lon:'20'},{city:'newyork', lat:'30', lon:'40'},{city:'singapore', lat:'50', lon:'60'}];
  </code></pre>
  
  <p>Thanks!</p>