Created
March 19, 2022 12:50
-
-
Save jx13xx/81eb23a716e321ddd1c4025cdfd4a225 to your computer and use it in GitHub Desktop.
IIFE - Immediately Invoked Fucntion Expressions Javascript
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
var firstname = "MyNamew"; | |
(function(name){ | |
var greeting = "Inside IIFE: Hellow" | |
console.log(greeting + '' + name); | |
}(firstname)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment