L
laredotornado
Hi,
I'm passing a function, "myFunc" as an argument to another function,
"doFunc". In "doFunc", I am creating an arbitrary number of arguments
to pass to "myFunc". How do I invoke "myFunc" with an arguments array
stored in "argsArr"? Here is the basic function skeleton:
function doFunc(myFunc) {
var argsArr = getArgsArray();
// invoke myFunc with argsArr ... how?
}
Thanks for the help, - Dave
I'm passing a function, "myFunc" as an argument to another function,
"doFunc". In "doFunc", I am creating an arbitrary number of arguments
to pass to "myFunc". How do I invoke "myFunc" with an arguments array
stored in "argsArr"? Here is the basic function skeleton:
function doFunc(myFunc) {
var argsArr = getArgsArray();
// invoke myFunc with argsArr ... how?
}
Thanks for the help, - Dave