On 1 May 2010, at 01:50, Brendan Eich wrote:

> MooTools takes an array of actual arguments to bind, while the others take 
> trailing positional actual params, I see. My point was that however they are 
> passed, these values are bound to the leading arguments supplied when the 
> bound method is invoked.

I just performed the same test on Mootools, no argument concatenation seems to 
happen there:

function test() {
        alert($A(arguments));
}

test(1, 2, 3); // "1, 2, 3"

var test2 = test.bind(this, [1, 2, 3]);

test2(); // "1, 2, 3"

test2(4, 5); // "1, 2, 3


_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to