Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

function

<type> function(parameter)
{
	do this;
    return value;
}

/*
int add(number1, number2)
{
	return number1 + number2;  
}
print(add(2,3));
*/
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #function
ADD COMMENT
Topic
Name
5+7 =