10 lines
96 B
JavaScript
10 lines
96 B
JavaScript
class Foo {
|
|
test = function() {
|
|
new.target;
|
|
};
|
|
|
|
test2 = () => {
|
|
new.target;
|
|
}
|
|
}
|