-
Notifications
You must be signed in to change notification settings - Fork 74
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
feat(ses): anticipate iterator helpers #1655
Conversation
e720250
to
d200cf6
Compare
Earlier I wrote
Both are now done. This is Ready for Review. |
d200cf6
to
b0b28a2
Compare
// core-js iterator shim. | ||
// We mutate the permits to tolerates the sloppy functions for testing | ||
// by sacrificing security. The caller and arguments properties of | ||
// sloppy functions violate ocap encapsulation rules. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
core-js
use strict mode, but, for modules size economy, not in all cases - for example, in cases where this
depends on it. I didn't think that .arguments
and .caller
are interesting to anyone. I can consider adding the strict mode in all affected cases. You could open an issue in the core-js
repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Fixes #1289
Anticipate both Iterator Helpers and Async Iterator Helpers.
Note that Iterator Helpers are already as stage 3, so we can expect engines to start shipping these at any time.
Reviewers, please check it against the text of the proposals.