Length Property of a Function Object
The length property returns the number of arguments that the function expects.
Format
funcName.length
The following table describes the arguments for the length property.
Argument | Description |
---|---|
funcName |
The name of the function that the length property uses to return the number of arguments. |