Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

argument vs parameter javascript

var foo = function( a, b, c ) {}; // a, b, and c are the parameters

foo( 1, 2, 3 ); // 1, 2, and 3 are the arguments
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #argument #parameter #javascript
ADD COMMENT
Topic
Name
2+4 =