News for hackers. Stuff that matters.
Re:‘This’ in JavaScript by nhpatt on Thursday August 03, 2017 @11:13AM (#14920267)
You are not calling the function, you are passing a reference to setTimeout that calls it directly, without the obj. before the call.

@getify explains it flawlessly, there are 4 modes: new, obj., bind/apply/call and default (window or error in strict mode)

There are no comments on this comment yet.