Vue · Junior · Question 58 of 75

What does <li v-for="n in 3">{{ n }}</li> render?

Explanation

v-for with a number repeats the template that many times, starting from 1, unlike array indices.

Further reading

Problem with a question

Vue · Junior · question 58

Test yourself

Take the Vue · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz