On Aug 17, 6:42 pm, Stephan Beal <[EMAIL PROTECTED]> wrote: > function f(a,b,c) { ... } > var f1 = f; > var f2 = new Function("..."); > > f1(1,2,3); > f2(1,2,3); // this won't work
My mistake: f2(1,2,3) WILL work, but you must still pass the proper number of arguments to the Function constructor, which cannot be done in one generic step, AFAIK.