Updates:
        Labels: -ES5 Priority-Low

Comment #3 on issue 1547 by [email protected]: Wrong global in cross-frame this-coercion
http://code.google.com/p/v8/issues/detail?id=1547

On the other hand, having different behavior for f() and (1,f)() is pretty inconsistent. It also means that if foo returns a function, then:
  foo(1)(2)  calls the returned function with its scope's global object, but
var x = foo(1);x(2) calls the function with the current scope's global object. That's more than marginally confusing, and it doesn't seem that it actually affects anyone.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to