title: Get value from array Angular 2
body: <p>I'm getting an array from an API, like this:</p>
  
  <pre><code>Array(4)
   0:{email: "mail@mail.com", name: "Billie", lastName: "Jean", 
  id: "5b6f79"}
   1:{email: "mail@mail.com", name: "John", lastName: "Doe", 
  id: "8b6z75"}
  ...
  </code></pre>
  
  <p>What I want is to extract the <code>id</code> to use it in my class to construct an URL like <code>${this.sellerData}/clients/ID</code> where the ID is the one from the array.</p>
  
  <p>I have tried this:</p>
  
  <pre><code>this.sellerClients = data.clients;
    console.log (this.sellerClients); 
    //prints the array in console
    for (let clientid of this.sellerClients ) {
       console.log(clientid);
           clientid = this.clientIdNumber;    
    }  
  </code></pre>
  
  <p>But I only get an object with the values:</p>
  
  <pre><code>{email: "mail@mail.com", name: "Billy", lastName: "Jean", id: "5b6f79"}
  ... 
  </code></pre>
  
  <p>Thank you for your help!</p>