Created
October 21, 2014 22:28
-
-
Save j03m/7ff6d0aef714fb2747f4 to your computer and use it in GitHub Desktop.
sometimes i hate js in the face
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 test(){ | |
var a = function(){ console.log("called but ignored return"); return 7;}; | |
return a(), function(){ | |
console.log("if you do this, i hate you."); | |
return 5; | |
}(); | |
} | |
console.log(test()); | |
console.log("something"), console.log("somethingelse"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment