Angular - Directives
Which of the following is the correct way to declare the loop variable in
*ngFor?*ngFor?*ngForThe correct syntax uses let to declare the loop variable.
Keywords like in, var, or each are not valid in Angular *ngFor.
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions