Last active
October 30, 2020 03:01
-
-
Save walidmahade/a0f5531f47151701b975542e99d44e29 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
function print_my_name() { | |
// code to execure | |
console.log("Mahade"); | |
} | |
function multiply_by_two(your_number) { | |
// code to execure | |
console.log( your_number * 2 ); // multiply given number with two, then print in console | |
} | |
// call the functions and pass a value | |
multiply_by_two(3) | |
// will return 6 in the console |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment