Skip to content

Instantly share code, notes, and snippets.

@insin
Forked from getify/gist:9179137
Last active August 29, 2015 13:56
Show Gist options
  • Save insin/9179330 to your computer and use it in GitHub Desktop.
Save insin/9179330 to your computer and use it in GitHub Desktop.
goto fail; goto fail;
// So.. this code:
if (foo) {
goto fail;
goto fail;
}
else if (bar) {
goto fail;
goto fail;
}
else if (bam) {
goto fail;
goto fail;
}
else {
goto fail;
goto fail;
}
// ..is actually treated as:
if (foo) {
goto fail;
goto fail;
}
else {
if (bar) {
goto fail;
goto fail;
}
else {
if (bam) {
goto fail;
goto fail;
}
else {
goto fail;
goto fail;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment