2018-01-09 15:36:42 +01:00

12 lines
126 B
JavaScript

function Foo() {
new.target;
}
Foo.prototype.test = function() {
new.target;
};
var Bar = function() {
new.target;
};