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.

Owner: [email protected]
Chromestatus: https://www.chromestatus.com/feature/5210159227863040

[1]
http://www.ecma-international.org/ecma-262/6.0/#sec-meta-properties-runtime-semantics-evaluation
[2] https://developer.mozilla.org/en-US/Firefox/Releases/41#JavaScript

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to