I have a list of objects in an array like this:
    [
      0: {name: "John", data: 0: [{age: 24}, {icon: "04d"}]},
      1: {name: "Vicky",data: 0: [{age: 25}, {icon: "06d"}]},
      2: {name: "John2",data: 0: [{age: 26}, {icon: "05d"}]},
      4: {name: "John3",data: 0: [{age: 27}, {icon: "09d"}]},
    ]
I am trying to access the objects like this.
    *ngFor="let weather_data of weather_data_info" 
in my HTML but I can not access the elements like above, can anyone tell me what I am doing wrong, any other alternate method is also welcome


associative arrayin JS. So you can not have keys in the array like this.