News for hackers. Stuff that matters.
Re:Replacing ‘that = this’ assignments in JavaScript with Ar... by learc83 on Friday April 14, 2017 @04:09PM (#14116887)
I just use factory functions that return an object that has arrow functions as properties, then I get private information via closures, and I don't have to worry about dealing with this.

https://www.youtube.com/watch?v=ImwrezYhw4w

There are no comments on this comment yet.