Skip to content

Instantly share code, notes, and snippets.

@bmeck
Created August 8, 2010 14:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bmeck/514096 to your computer and use it in GitHub Desktop.
Save bmeck/514096 to your computer and use it in GitHub Desktop.
(function expression(){
console.log("im still an expession!, i cant go out of myself :)")
})
expression()
function() {
console.log("im an expression so i cant be global")
}
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