We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ProxyCreate (http://www.ecma-international.org/ecma-262/6.0/#sec-proxycreate) doesn't set the [[Construct]] method if the target isn't callable (doesn't have [[Call]]). AFAIK, class constructors don't have [[Call]]. Is this a bug?
The text was updated successfully, but these errors were encountered:
Class constructors do have [[Call]], it's just specified to throw a TypeError. See http://tc39.github.io/ecma262/#sec-makeclassconstructor, and step 2 of http://tc39.github.io/ecma262/#sec-ecmascript-function-objects-call-thisargument-argumentslist.
[[Call]]
TypeError
Sorry, something went wrong.
I see, thanks!
No branches or pull requests
ProxyCreate (http://www.ecma-international.org/ecma-262/6.0/#sec-proxycreate) doesn't set the [[Construct]] method if the target isn't callable (doesn't have [[Call]]). AFAIK, class constructors don't have [[Call]]. Is this a bug?
The text was updated successfully, but these errors were encountered: