Statements (16)
Predicate | Object |
---|---|
gptkbp:instanceOf |
JavaScript language feature
|
gptkbp:category |
meta-property
|
gptkbp:hasSyntax |
new.target
|
https://www.w3.org/2000/01/rdf-schema#label |
new.target meta-property
|
gptkbp:introducedIn |
gptkb:ECMAScript_2015
|
gptkbp:purpose |
detects whether a function or constructor was called using new
|
gptkbp:relatedTo |
gptkb:Function.prototype.constructor
Reflect.construct |
gptkbp:result |
the constructor that was directly invoked with new
undefined if not called with new |
gptkbp:usedIn |
gptkb:JavaScript
class constructors function constructors |
gptkbp:bfsParent |
gptkb:ES2015
gptkb:ES2015_JavaScript |
gptkbp:bfsLayer |
6
|