es5-shim icon indicating copy to clipboard operation
es5-shim copied to clipboard

Array.prototype.splice Bug on Safari 8.0.7

Open albertmatyi opened this issue 8 years ago • 1 comments

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

albertmatyi avatar Sep 22 '16 13:09 albertmatyi

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?

ljharb avatar Sep 22 '16 17:09 ljharb