News for hackers. Stuff that matters.
Re:The JavaScript Problem by insin on Sunday April 27, 2014 @02:54AM (#7654216)
Are you using strict mode? It doesn't fall back to the global object as `this` (except for setTimeout/setInterval, which are specified that way) - since I've started using it, I find out pretty quickly if I was missing a `.bind(this)` when passing a callback function.

There are no comments on this comment yet.