Function.length
Specifies the number of arguments expected by the function.
Property of Function
Description
length is external to a function, and indicates how many arguments the function expects. By contrast, arguments.length is local to a function and provides the number of arguments actually passed to the function.
Example
See the example for Function.arguments.length.