-
-
Save Marak/443256 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
| function doit() { | |
| INSANITY: | |
| for(var i=1; i < 20; i++) { | |
| if(i == 10) { | |
| continue INSANITY; | |
| } | |
| console.log(i); | |
| } | |
| } | |
| doit(); |
Author
wild... didn't know that this existed. thx.
Author
function(){
jump: {
code;
code;
break jump; // look mom, no loop
}
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DONT DO IT!
I call it go-control. its like goto + flow control.
:-(