How we built it

new.target (ES6)

new.target is a "meta-property" available in all functions. It refers to the constructor invoked by 'new' (if a construct call is underway) or undefined otherwise.

Demo

Documentation

Specification

Established standard

Status in Chromium

Enabled by default (launch bug) in:

  • Chrome for desktop release 46
  • Chrome for Android release 46
  • Android WebView release 46
  • Opera release 33
  • Opera for Android release 33

Consensus & Standardization

Owner

Last updated on 2016-01-27