Created
June 11, 2009 20:01
-
-
Save NV/128192 to your computer and use it in GitHub Desktop.
'foo bar'. Guess why?
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 foo = function(bar) { | |
console.log("foo"); | |
return bar; | |
} | |
(function(){ | |
console.log("bar") | |
})(); | |
// 'foo bar' | |
// Guess why? | |
var foo = function(bar) { | |
console.log("foo"); | |
return bar; | |
}; | |
(function(){ | |
console.log("bar") | |
})(); | |
// 'bar' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment