A new ES6 draft is available
ultcombo at gmail.com
Sat Jan 17 10:28:22 PST 2015
I agree with Frankie. Assume a developer who has never seen this
`new.target` construct before.
They will first think that this is an invalid expression, as `new` is an
operator. Then, upon seeing this code execute, the natural question is
"What is `new`? Is it an identifier injected into Environment Records
created by [[Call]] and [[Construct]]? Does this identifier resolve to an
object (so that the MemberExpression would make sense)?"]
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss