Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

unlimited number of arguments in function javascript

function manyArgs() {
  for (var i = 0; i < arguments.length; ++i)
    alert(arguments[i]);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #unlimited #number #arguments #function #javascript
ADD COMMENT
Topic
Name
7+5 =