Subj : Using 'apply' to construct an object To : netscape.public.mozilla.jseng From : franck Date : Tue Aug 30 2005 06:21 pm Hello, When I need to call a function with a variable list of arguments, I use : var args = [ 111, 222, 333 ]; myFunction.apply( this, args ); Now I need to do the same thing with the constructor of an object, but I am unable to find the right syntax. Something like this : new myClass.apply( this, args ); // do not work ! Thanks for any help. Franck. .