Vue · Junior · Question 58 of 75
What does <li v-for="n in 3">{{ n }}</li> render?
- ✓Correct answer: 1, 2, 3
- 20, 1, 2
- 3Nothing -
v-forneeds an array
Explanation
v-for with a number repeats the template that many times, starting from 1, unlike array indices.