Labels a statement with an identifier.
Syntax
label : statementExample
myCatAlert: alert("Jasmine");Remarks
Use labeled statements to break out of or continue loops.
本文档基于 CC协议(Creative Commons Share-Alike License)发布,是developer.mozilla.com, www.mozref.com和www.aptana.com共同劳动的成果。