Navigator 2.0, Internet Explorer 3.0
function.arguments[i] function.arguments.length
The arguments property of a Function object is an array of the arguments that are passed to a function. arguments.length specifies the number of elements in the array. JavaScript allows any number and any type of arguments to be passed to a function, and the arguments[] array allows you to write functions that can gracefully accept a variable number of arguments.
If the function was defined with n argument names, then the first n elements in the arguments[] array may also be referenced through the defined argument names.
See Function for more details on the use of this property.
file: /Techref/language/java/script/definitive/refp_144.htm, 4KB, , updated: 2019/10/14 15:00, local time: 2024/12/28 21:21,
3.17.174.204:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/techref/language/java/script/definitive/refp_144.htm"> [Chapter 21] Reference: Function.arguments[]</A> |
Did you find what you needed? |