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

.splice(list, 5,1) inserts undefined #112

Closed
justinbmeyer opened this issue May 30, 2018 · 0 comments · Fixed by #114
Closed

.splice(list, 5,1) inserts undefined #112

justinbmeyer opened this issue May 30, 2018 · 0 comments · Fixed by #114
Labels

Comments

@justinbmeyer
Copy link
Contributor

justinbmeyer commented May 30, 2018

If the 4rd argument is not provided, it still tries to insert an item.

var arr = ["a","b"];
canReflect.splice(arr, 0, 1);

arr //-> should be ["b"], but is [undefined, "b"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant