Direction: Choose the correct option
Q1.
What does `*ngFor='let item of items'` do?
Direction: Choose the correct option
Q2.
How do you get the index in `*ngFor`?
Direction: Choose the correct option
Q3.
What is the purpose of `trackBy` in `*ngFor`?
Direction: Choose the correct option
Q4.
What happens if the array changes after initial render?
Direction: Choose the correct option
Q5.
Can you use `*ngFor` with an object's properties?
Direction: Choose the correct option
Q6.
What are the local variables available in `*ngFor`?
Direction: Choose the correct option
Q7.
What does `*ngFor='let item of items; trackBy: trackByFn'` do?
Direction: Choose the correct option
Q8.
How do you loop a specific number of times (e.g., 5 times)?
Direction: Choose the correct option
Q9.
What is the role of `` with `*ngFor`?
Direction: Choose the correct option
Q10.
What happens if you don't use `trackBy` with a list that changes frequently?
