title: Set key dynamically inside map() in javascript?
body: <p>So I know how to set the key dynamically like this:</p>
  
  <pre><code>var hashObj = {};
  hashObj[someValue] = otherValue;
  </code></pre>
  
  <p>But I haven't seen any answer regarding <code>map()</code>:</p>
  
  <pre><code>var list = ['a', 'b', 'c'];
  
  var hashObject = list.map(function(someValue) {
      return { someValue: 'blah' };
  });
  
  // should return: [ {'a': 'blah'}, {'b': 'blah'}, {'c': 'blah'} ];
  </code></pre>
  
  <p>I know I can do this in a <code>for</code> loop and such, but is this not possible in javascript using just <code>map()</code>?</p>