• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

label

JavaScript 1.2+, JScript 1.0+ Nav4+, NES3+, IE 3+ Syntax

							label:
							code;
						

Description

The label keyword provides an identifier that can be used with break or continue to indicate where a program should continue execution. You can associate a block of JavaScript statements with each other using a label. When a label is called using break or continue, code is executed.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint