We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
About bdd9804 / compat-table/compat-table#453
By spec, ArraySpeciesCreate shoud create instance arrayLike.constructor / arrayLike.constructor[@@spicies] only if arrayLike is array, see steps 4-7.
arrayLike.constructor
arrayLike.constructor[@@spicies]
arrayLike
Current implementation different from spec and breaks old code - for example, [].slice.call(document.getElementsByTagName('div')) throws error.
[].slice.call(document.getElementsByTagName('div'))
The text was updated successfully, but these errors were encountered:
Unpublished v0.27.0 from npm pending this issue.
v0.27.0
npm
Sorry, something went wrong.
After rereading the spec algorithm, I think that perhaps this isn't shimmable. I'm going to revert this for now and revisit it in the future.
b9afbde
ljharb
No branches or pull requests
About bdd9804 / compat-table/compat-table#453
By spec, ArraySpeciesCreate shoud create instance
arrayLike.constructor
/arrayLike.constructor[@@spicies]
only ifarrayLike
is array, see steps 4-7.Current implementation different from spec and breaks old code - for example,
[].slice.call(document.getElementsByTagName('div'))
throws error.The text was updated successfully, but these errors were encountered: