When attempting to iterate through the "others" array using *ngFor in Angular, I successfully accessed the "id" and "year" values. However, when trying to loop through the "others" array, I encountered the issue of receiving [object object] as the output.
{
"id": 11,
"year": [
2019,
2020
],
"others": {
"name": "John",
"age": "19",
"work": "yes"
}
}