Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

function in javascript

function addNumbers(a, b) {
    var total = a + b;
    return total
}

var num1 = 2;
var num2 = 3;
console.log(addNumbers(num1, num2))
Source by www.studytonight.com #
 
PREVIOUS NEXT
Tagged: #function #javascript
ADD COMMENT
Topic
Name
6+6 =