3 ms·
> extending JS syntax so it has simulated goto for example JavaScript has goto, it's the `continue` statement[1]. 1: https://developer.mozilla.org/en-US/docs/
by rounce 8y ago
> extending JS syntax so it has simulated goto for example
JavaScript has goto, it's the `continue` statement[1].
1: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/continue#Using_continue_with_a_label https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
- megous 8y agoThat's not a real goto. You can only use a label for breaking out of outer loops. Useful for that, but not for other kinds of control flow control.