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
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

