📜label
JS ⟩ statement ⟩ other ⟩ label
prefixes a statement with an identifier which you can refer to.
<label> : <statement> // syntaxThe namespace for labels is different than the namespace for variable(s) and function(s), the same identifier can be used as label / variable or function name.
Last updated