IE 5.0 apparently does not support the apply() method for function
objects - the following fails:
function foo() {
alert( this.length );
}
foo.apply( [] );
Is there a convenient way to add an apply() method to foo that would
allow this code to work as written?
--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cybers pace.org | don't, I need to know. Flames welcome.
objects - the following fails:
function foo() {
alert( this.length );
}
foo.apply( [] );
Is there a convenient way to add an apply() method to foo that would
allow this code to work as written?
--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cybers pace.org | don't, I need to know. Flames welcome.
Comment