Follow

: TIL that you can label your loops and give "break;" and "continue;" that name as a parameter to *choose* which loop you mean: continue <label>; Whaaaaaaat, i have *never ever* seen this! That is super useful for nested loops, so a loop inside another loop can break out of or skip an iteration of any outside loop. No need for conditions there anymore. :blobthinkingeyes:

developer.mozilla.org/en-US/do

@nora QUOI?! Warum hat mir das noch keine:r verraten?
Danke fürs Teilen!

JavaScript 

Sign in to participate in the conversation
Cybrespace

cybrespace: the social hub of the information superhighway jack in to the mastodon fediverse today and surf the dataflow through our cybrepunk, slightly glitchy web portal support us on patreon or liberapay!