Better HN
topnewbestaskshowjobs
Log inSign up

nhpatt

3 karma · joined Sep 17, 2010 (16y ago) · 1 submissions

Submissions

comment 9y ago · link · parent

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)