Created
September 4, 2021 12:26
-
-
Save wkdalsgh192/cdb260f9ea7b842ba27238b843e011b4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// 1. Assign a function to a variable | |
const sayHello = function() { | |
console.log("Hello"); | |
return "Hello, "; | |
} | |
// Invoke it using the variable | |
sayHello(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment