Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js a function that takes in multiple arguments.

function printValues(value1, value2) {
    console.log(value1 + ', ' + value2);
}

printValues('abc', 123); // -> abc, 123
 
PREVIOUS NEXT
Tagged: #js #function #takes #multiple
ADD COMMENT
Topic
Name
3+4 =