DEV Community

Discussion on: Looping over object properties with ngFor in Angular

Collapse
 
zerzerimohamed profile image
Mohamed Zerzeri

there's actually a little mistake in the end of the code :
goodResponse.push(evilResponseProps[prop]); must be modified to

goodResponse.push(evilResponse[prop]);

but this code helped me a lot, thanks a lot didn't know what to do without it ;)

Collapse
 
papaponmx profile image
Jaime Rios

Glad to help. Thanks for the feedback.