News for hackers. Stuff that matters.
Re:Trine – A utility library for functional programming in J... by notNow on Thursday June 11, 2015 @12:42PM (#9700750)
"this" inside the setInterval in the 2nd example points to the global object in the browser case it's the window. So, he had to cache/alias the value prior to execution to avoid the confusion.

There are no comments on this comment yet.