title: Get key value of dictionary
body: <p>How do I get the value from a javascript dictionary? (I don't even know if it's called a dictionary in javascript)</p>
  
  <p>I get the following object  (friends) from the facebook sdk. How do I, for example, loop through the names?</p>
  
  <pre><code>{data: [{id: "xxxxx", name: "Friend name"}, {id: "xxxxx", name: "Friend name"}]}
  </code></pre>