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

Revert RegExp.prototype[@@split] to ES5 semantics #92

Closed
bterlson opened this Issue Oct 20, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@bterlson
Member

bterlson commented Oct 20, 2015

Should cast the limit parameter with ToUint32 not ToLength (as ToLength has the unfortunate effect of allowing invalid arrays).

@bterlson bterlson closed this in a524713 Nov 13, 2015

anba added a commit to anba/test262 that referenced this issue Dec 2, 2015

Updates for ES2016 Draft 2015-12-01
- RegExp.prototype[Symbol.split] calls ToUint32 (tc39/ecma262#92)
- Species lookup removed from Promise.all and Promise.race (tc39/ecma262#151)
- Generator functions are no longer constructors (tc39/ecma262#171)

Fixes tc39#444
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment