This documentation is archived and is not being maintained.
length Property (Function)
Visual Studio 2010
Returns the number of arguments defined for a function.
function.length
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.
Show: