Label statement moveable
brendan at mozilla.org
Thu May 21 23:45:38 UTC 2015
Bob Myers wrote:
> Can we also get goto statements?
No, although an out-of-shipping-date Opera engine supported them.
> Also, if we going to do gotos, then please implement computed GOTO.
> FORTRAN has had that already for like 50 years.
Sorry, JS is not Fortran. Goto considered harmful, Dijkstra said -- plus
naive Java verifier complexity is O(n^4) without extra stack/typemaps,
due to goto.
G-O-T-O in JS is spelled "Proper Tail Calls" and is in ES6.
More information about the es-discuss