title: What's a good way to define data in Javascript?
body: <p>I'm used to PHP, where I can easily do something like:</p>
  
  <pre><code>$data = array(
    'google' =&gt; array('title' =&gt; 'Google', 'url' =&gt; 'http://google.com'),
    'facebook' =&gt; array('title' =&gt; 'Facebook', 'url' =&gt; 'http://facebook.com'),
    'youtube' =&gt; array('title' =&gt; 'YouTube', 'url' =&gt; 'http://youtube.com')
  );
  </code></pre>
  
  <p>What's a similar way to create an array or object of data using Javascript?</p>