title: How can i take Values from a JSON array?
body: <p>How can i take  "<strong>steamid</strong>" from array <strong>friends</strong>? <br>
  What i`m doing wrong?<br>
  <strong>friendslist</strong> and <strong>friends</strong> really confused me.
  <div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var obj = 
  {
   "friendslist": {
    "friends": [
     {
      "steamid": "76561197965254644",
      "relationship": "friend",
      "friend_since": 1427418915
     },
     {
      "steamid": "76561197967483523",
      "relationship": "friend",
      "friend_since": 1483547216
     },
     {
      "steamid": "76561197967658405",
      "relationship": "friend",
      "friend_since": 1431204923
     }
        ]
   }
  }
  for (var i = 0; i &lt; obj.length; i++) {
    console.log(obj[i].friends['steamid']);
     
  }</code></pre>
  </div>
  </div>
  </p>