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

Implement new.target #157

Closed
nzakas opened this issue Jun 28, 2015 · 3 comments
Closed

Implement new.target #157

nzakas opened this issue Jun 28, 2015 · 3 comments

Comments

@nzakas
Copy link
Member

nzakas commented Jun 28, 2015

This is the one thing we missed from ES6, the new.target metaproperty. The option name should be newTarget.

AST definition: https://github.com/estree/estree/blob/master/es6.md#metaproperty

@nzakas
Copy link
Member Author

nzakas commented Jun 29, 2015

Related: jquery/esprima#1216

@nzakas
Copy link
Member Author

nzakas commented Jul 6, 2015

Working on this.

@xjamundx
Copy link
Contributor

xjamundx commented Jul 7, 2015

I just read about this in your 📖 !

@nzakas nzakas closed this as completed in fe3a494 Jul 7, 2015
nzakas added a commit that referenced this issue Jul 7, 2015
New: Add newTarget option (fixes #157)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants