News for hackers. Stuff that matters.
Re:JavaScript: prototype vs. class by 52-6F-62 on Wednesday April 04, 2018 @12:25PM (#16756254)
My favourite solution so far is the @autobind decorator. It's far from native yet, though. And of course, enters the newer decorators feature which drifts ever closer to Java-like syntax to some peoples' chagrin.

https://github.com/andreypopp/autobind-decorator

There are no comments on this comment yet.