On Nov 11, 10:54 am, RobG <[EMAIL PROTECTED]> wrote:
>
> No, it's not.  What object is the following functions called as
> methods of:
>
> (function(){})();

window?
(function(){ alert(this) })();

creating a block scope doesn't make the function float in limbo!

>
> function foo() {};
> foo.call({});

In this case the function is being called as a method of a new empty
object ({}) you just created, right?

Reply via email to