Hacker News new | past | comments | ask | show | jobs | submit login

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)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: