DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
Javascript function method with any number of arguments
function foo() { for (var i = 0; i < arguments.length; i++) { console.log(arguments[i]); } }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#Javascript
#function
#method
#number
#arguments
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit