Hacker News new | ask | show | jobs
by wongma 2893 days ago
no, because you're not passing the arg in now right?
1 comments

Of course you are. The `smth` method will receive whatever arguments the caller gives.

This totally works but only if `smth` has been declared as an arrow function (so that is captures the class `this` context).