Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js unspecified parameters

function my_log(...args) {
     // args is an Array
     console.log(args);
     // You can pass this array as parameters to another function
     console.log(...args);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #unspecified #parameters
ADD COMMENT
Topic
Name
8+9 =