I have one javascript object. I want values like item_name, item_cost etc. from the object. How should I get it ?
This is my javascript object:
data: Array(3)
0: {Item_name: "bourban-biscuits", Item_cost: 15, Item_quantity: 1, Total_cost: 15, Time: "3/17/2019, 4:26:05 PM"}
1: {Item_name: "dark fantasy", Item_cost: 5, Item_quantity: 1, Total_cost: 5, Time: "3/17/2019, 4:26:20 PM"}
2: {Item_name: ""}
item_namefrom the array of objects? Or just one of them?