Created
January 25, 2018 00:00
-
-
Save jw-jenrise/0200b51b06c10fadf334a275e1dd97dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log("Begin example - 4"); | |
// Adding of three numbers using a function | |
// Define an add function | |
function add(a,b,c){ | |
return a + b + c; | |
} | |
// Calling the function | |
var d = add(10,20,30); | |
console.log("Result =" + d); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment