Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

argument vs parameter

// Define a method with two parameters
int Sum(int num1, int num2)
{
   return num1 + num2;
}

// Call the method using two arguments
var ret = Sum(2, 3);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #argument #parameter
ADD COMMENT
Topic
Name
6+4 =