2 ms·
Already exists. class Foo { bar = () => { console.log(this); } } Has to be compiled with Babel, though.
by always_good 9y ago
Already exists.
class Foo {
bar = () => {
console.log(this);
}
}
Has to be compiled with Babel, though.