Created
August 8, 2010 14:37
-
-
Save bmeck/514096 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 expression(){ | |
console.log("im still an expession!, i cant go out of myself :)") | |
}) | |
expression() |
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() { | |
console.log("im an expression so i cant be global") | |
} |
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 statement() { | |
console.log("im an statement because im global and have a name") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment