On 2011/08/22 16:39:51, metaweta wrote:
On 2010/08/19 00:28:34, MikeSamuel wrote:
> I filed http://dev.jquery.com/ticket/6917
> Hopefully the jquery guys are receptive.
>
> 2010/8/17  <[email protected]>:
> > On 2010/08/18 02:26:23, MarkM wrote:
> >>
> >> &nbsp; &nbsp; a.foo() ==== a.foo.call(a) // assuming call wasn't
overridden
> >
> > This got me curious. An interesting test case:
> >
> > &nbsp;function foo() {
> > &nbsp; &nbsp;if (this !== window) { return this; }
> > &nbsp; &nbsp;return arguments.callee();
> > &nbsp;}
> > &nbsp;foo(4,5,6).length; // returns 3
> >
> > So calling 'arguments.callee' as a method really does bind the
arguments
> > object to the callee's "this" as it should.
> >
> > http://codereview.appspot.com/1995045/
> >

What's the status of this CL?

Please close this review.

http://codereview.appspot.com/1995045/

Reply via email to