Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

syntax function

function myFunction(a, b){
	let calc = a + b;
  	return calc;
}

myFunction(5,3) // result= 8
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #syntax #function
ADD COMMENT
Topic
Name
7+7 =