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

Array.prototype.splice Bug on Safari 8.0.7 #409

Open
albertmatyi opened this issue Sep 22, 2016 · 1 comment
Open

Array.prototype.splice Bug on Safari 8.0.7 #409

albertmatyi opened this issue Sep 22, 2016 · 1 comment

Comments

@albertmatyi
Copy link

[1,2,3].splice(1) returns [] on Safari 8.0.7 when using es5-shim

@ljharb
Copy link
Member

ljharb commented Sep 22, 2016

ES6 makes changes to splice that the es5-shim doesn't attempt to comply with. In Safari 9 and 10, this returns [2, 3].

This should actually be a bug on es6-shim, not the es5-shim - could you file it there?

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