Skip to content
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

Should we support eventualNew method? #19

Open
JLHwung opened this issue Nov 13, 2020 · 1 comment
Open

Should we support eventualNew method? #19

JLHwung opened this issue Nov 13, 2020 · 1 comment

Comments

@JLHwung
Copy link

JLHwung commented Nov 13, 2020

Static Method Default Behavior Handler trap
eventualNew(p, args) p.then(t => new t(...args)) h.eventualNew(t, args)
@dead-claudia
Copy link

Worth noting that unlike in #18, this already has a corresponding Proxy trap of construct (and likewise should be eventualConstruct, not eventualNew).

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

No branches or pull requests

2 participants