Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript Function Object length Property

Contains the number of arguments a function is defined with.

Syntax: JScript Function Object length Property

functionname.length

Arguments: JScript Function Object length Property

functionname

The name of the function.

Remarks: JScript Function Object length Property

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.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.