Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sub function javascript

// Simple Substraction Function in Javascript
function sub(a, b) {
return a-b
}
console.log(sub(6, 2))
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #function #javascript
ADD COMMENT
Topic
Name
9+7 =