Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How to return arguments in an array in javascript

(function() {
  console.log([...arguments]);
}(1, 2, 3))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #return #arguments #array #javascript
ADD COMMENT
Topic
Name
7+2 =