A
A
Alianos2021-05-02 06:17:01
Vue.js
Alianos, 2021-05-02 06:17:01

Why does v-for="i in 3" count from one?

Why does v-for="i in 3" start counting from one, when it should count non-iterable values ​​as well, i.e. zero?
v-for="i of 3" is generally logical, only iterables start from one, but still...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question