Created
April 16, 2012 02:12
-
-
Save dherman/2396007 to your computer and use it in GitHub Desktop.
refactoring hazard with missing semicolons
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
function mumble() { | |
foobar() | |
var x; | |
[1, 2, 3].forEach(quux); | |
if (blah()) { | |
x = "oogy"; | |
} else { | |
x = "boogy"; | |
} | |
return xyzzx(x); | |
} |
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
function mumble() { | |
var x; | |
foobar() | |
[1, 2, 3].forEach(quux); | |
if (blah()) { | |
x = "oogy"; | |
} else { | |
x = "boogy"; | |
} | |
return xyzzx(x); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment