What about setTimeout(obj.method, 1)?
(Spoilers: this == window, not what is left of the function call)
(Spoilers: this == window, not what is left of the function call)
@getify explains it flawlessly, there are 4 modes: new, obj., bind/apply/call and default (window or error in strict mode)
Looking at a possible implementation of setTimeout makes it clearer:
function setTimeout(func, delay) {
// wait for the delay to complete..
func();
}
Here you can see that when the function is called there's nothing to the left of it.