Introduction  to Chapter 15, third paragraph from bottom:

"Every built-in Function object described in this clause-whether as a 
constructor, an ordinary function, or both-has a length property whose value is 
an integer. Unless otherwise specified, this value is equal to the largest 
number of named arguments shown in the subclause headings for the function 
description, including optional parameters."

> -----Original Message-----
> From: [email protected] [mailto:es-discuss-
> [email protected]] On Behalf Of Oliver Hunt
> Sent: Wednesday, June 23, 2010 3:34 PM
> To: [email protected]
> Subject: Function.length values?
> 
> Microsoft has just recently (as far as i was aware) added JS tests to the IE 
> testing
> center and a number of the tests test the value of someFunction.length, I 
> can't
> see where these values are actually specified for functions with optional
> arguments, what am I missing?
> 
> --Oliver
> 
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to