May 2011
Intermediate to advanced
1096 pages
40h 54m
English
Function.length — the number of declared arguments
function.length
The length property of a
function specifies the number of named arguments declared when the
function was defined. The function may actually be invoked with more
than or fewer than this number of arguments. Don’t confuse this
property of a Function object with the length property of the Arguments object,
which specifies the number of arguments actually passed to the
function. See Arguments.length for an
example.
Read now
Unlock full access