Created
March 23, 2011 22:54
-
-
Save paularmstrong/884208 to your computer and use it in GitHub Desktop.
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
// What does this return? | |
(function() { | |
function f() { return 1; } | |
return f(); | |
function f() { return 2; } | |
})(); | |
// What is x? | |
var y = 1, x = y = typeof x; | |
// | |
var a = [typeof a, typeof b][1]; | |
typeof typeof a; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment