super.apply(this, arguments)

Nathan de Vries nathan at atnan.com
Fri Dec 21 03:05:48 PST 2007


On 21/12/2007, at 11:01 AM, Jeff Dyer wrote:
> We dropped this from AS3 for lack of evidence for its need.

Really? The "rest" arguments (tail arguments specified as an array)  
is available in AS3 as far as I'm aware:

     function foo(first:*, second:*, ...rest) {
         trace(arguments.length); // variable int, depending on how  
foo is called
         trace(rest is Array); // true
     }

Isn't this also in the ES4 overview (page 22)?


Cheers,

--
Nathan de Vries



More information about the Es4-discuss mailing list