title: Trouble returning simple array: "Uncaught ReferenceError: n is not defined "
body: <p>In this case I would expect the log to output <code>anything</code> for <code>metaData[price]</code> but instead I have an error telling me <code>metaData[price]</code> is not defined.</p>
  
  <pre><code>function getMetaData(item) {
      var metaData = new Object();
      metaData[name] = $(item).siblings('.itemModalHolder').find('.item_name').text();
      metaData[price] = "anything";
      console.log(metaData[price]);
      return metaData;
  }
  </code></pre>