How to access object within a json object in angular 2+ : I am a beginner of angular. I tried to access this json object using
 console.log(this.selected[0].delivery.shipping_type);
 Selected is an array and i am trying to show the 0th element of selected.How to access shipping_type within delivery.console.log returns this error: Cannot read property 'shipping_type' of undefined. 


```
 selected[0]=
{createdAt: "2019-09-20T01:47:27.291Z"
delivery.address: "21 Woodlands Crossing, Singapore 738203"
delivery.contact_no: "738203"
delivery.postal_code: "738203"
delivery.recepient: "Dhania"
delivery.shipping_fee: 5
delivery.shipping_type: "regular"
delivery.unit_no: "#03-07",
__v: 0
_id: "5d842faf06f2a639183226c0"}
```

