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

10 lines
96 B
JavaScript

class Foo {
test = function() {
new.target;
};
test2 = () => {
new.target;
}
}