News for hackers. Stuff that matters.
Re:Javascript Fundamentals: ‘this’ keyword by aphextron on Sunday August 26, 2018 @02:50PM (#17847229)
>It's really frustrating that the ECMA people didn't define class methods to always be bound just like arrow functions.

This is a huge annoyance because I never really know where to bind my events. It always ends up just being an awkwardly placed "bindEvents" call somewhere in the init function.

There are no comments on this comment yet.