On Tue, May 26, 2009 at 6:05 PM, Mark S. Miller <[email protected]> wrote:
>
> function laundry(obj, verb, args) {
> "use strict";
> return obj[verb].apply(obj, args);
> }
>
>
A better laundry:
function laundry(fun, thisArg, args) {
"use strict";
return fun.apply(thisArg, args);
}
--
Cheers,
--MarkM
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

