Y
Hacker News
new
|
ask
|
show
|
jobs
by
always_good
3141 days ago
Already exists.
class Foo { bar = () => { console.log(this); } }
Has to be compiled with Babel, though.