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

when call set() of an empty array, the first element of the new array will be remove #95

Closed
junyo opened this issue Sep 17, 2015 · 1 comment

Comments

@junyo
Copy link

junyo commented Sep 17, 2015

http://jsbin.com/jeyizufuva/edit?html,js,console

@mquan mquan closed this as completed in db55c3a Sep 18, 2015
@mquan
Copy link
Owner

mquan commented Sep 18, 2015

Thanks for reporting the problem, the code was checking if (index) instead of if (typeof index !== 'undefined')

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

2 participants