Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

ES6 Final Tweaks #48

Open
4 of 5 tasks
inexorabletash opened this issue Nov 21, 2014 · 3 comments
Open
4 of 5 tasks

ES6 Final Tweaks #48

inexorabletash opened this issue Nov 21, 2014 · 3 comments

Comments

@inexorabletash
Copy link
Owner

Per https://twitter.com/awbjs

@inexorabletash
Copy link
Owner Author

Re: @@match and friends - the point is that calling: "abc".match(re) should now work if re is a regular expression subclass, because String.prototype.match will delegate to re[@@match]. That implies hooking String.prototype.match (etc) in the polyfill.

@inexorabletash inexorabletash changed the title ES6 Final Tweaks: ES6 Final Tweaks Nov 26, 2014
@inexorabletash
Copy link
Owner Author

I'll probably wait on @@species until it hits a draft.

@inexorabletash
Copy link
Owner Author

I did a pass to synchronize with the latest draft. The guts of Promise methods abstract operations need a bit more alignment, but overall I think it's in good shape.

I still have not tackled @@species - pull requests (including tests!) welcome.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant