Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v-for="n in 0" shows '0' #3817

Closed
jeroennoten opened this issue Sep 29, 2016 · 0 comments
Closed

v-for="n in 0" shows '0' #3817

jeroennoten opened this issue Sep 29, 2016 · 0 comments

Comments

@jeroennoten
Copy link

Vue.js version

2.0.0-rc.8

Reproduction Link

https://jsfiddle.net/ysupj06q/1/

Steps to reproduce

Use range v-for with 0, e.g. <div v-for="n in 0">Hi!</div>

What is Expected?

Nothing is displayed.

What is actually happening?

0 is displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant