Created
October 9, 2014 04:11
-
-
Save lizlongnc/ad312fb7c554095409cf to your computer and use it in GitHub Desktop.
JS IIFE
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
(function () { | |
return expression: | |
}()) | |
works except if any of the following are used in function | |
var | |
function | |
break | |
continue | |
return | |
this | |
argument |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment