Intent to ship: ES'15 new.target

22 views
Skip to first unread message

Adam Klein

unread,
Jul 24, 2015, 9:16:06 PM7/24/15
to v8-users
The 'new.target' meta-property[1] is part of ECMAScript 2015. It provides access to the constructor function which was invoked by 'new' (if a construct call is underway) or undefined otherwise.

Firefox plans to ship it in version 41 [2].

This is the last piece of the ES'15 class semantics to ship in V8 and will open up the ability for V8 to further improve its support for subclassing builtins.

Reply all
Reply to author
Forward
0 new messages