Microsoft® JScript™
length Property (Function)
 Language Reference 
Version 2 

See Also                  Applies To


Description
Contains the number of arguments a function is defined with.
Syntax
functionname.length

The functionname argument is required and is the name of the function in question.

Remarks
The length property of a function is initialized by the scripting engine to the number of arguments in the function's definition when an instance of the function is created.

What happens when a function is called with a number of arguments different from the value of its length property depends on the function.


© 1998 Microsoft Corporation. All rights reserved. Terms of Use.