Created
August 18, 2016 00:53
-
-
Save marclundgren/05e420437fea7d381434d3552a94e5a6 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
// IFEE | |
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript#Functions | |
var message = 'hello IFEE'; | |
(function(arg1) { | |
console.log(arg1); | |
}); | |
(function(arg1) { | |
console.log(arg1); | |
})(message); | |
// this works? | |
(function(arg1) { | |
console.log(arg1 + ' this works?'); | |
})(message) | |
(message); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment