A new ES6 draft is available

Fabrício Matté 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)?"]

/fm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150117/36c2b954/attachment.html>


More information about the es-discuss mailing list