Created
September 4, 2013 19:43
-
-
Save jcreedcmu/6441864 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
<html> | |
<head> | |
<title> | |
lol | |
</title> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
if (2 + 2 == 4) { | |
(function() { | |
function foo() { | |
alert("Works as expected."); | |
} | |
foo(); | |
})(); | |
} else { | |
(function() { | |
function foo() { | |
alert("WTF is wrong with this language???"); | |
} | |
foo(); | |
})(); | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment