title: retrieving data from nested object
body: <p>I have this object example only:</p>
  
  <pre><code>{
  id: 301
   payload: {
   1: {
    house_no: 1234,
    city: London
    },
   2: {
    house_no: 0000
    city: Paris
    }
   }
  }
  </code></pre>
  
  <p>I need to extract only the <code>house_no and city</code> for both 1 and 2.
  I have tried for loping through like so: *Address passed to the loop is the object above</p>
  
  <pre><code>let item = [];
  for(let x in address){
        item.push(item[x]);
  }
  
  console.log('Address', item.city);
  </code></pre>
  
  <p>This gives me array with undefined elements:</p>
  
  <pre><code>[
  0: undefined
  1: undefined
  ]
  </code></pre>
  
  <p>Could you guys please help me just retrieving the data i need for each 1,2 : <code>house_no and city</code></p>