case ... : (Label)

Part of the switch ... case mechanism. The case keyword denotes a label associated with one of the selectors.

Availability:

ECMAScript edition - 3
JavaScript - 1.2
JScript - 3.0
Internet Explorer - 4.0
Netscape - 4.0
Netscape Enterprise Server - 3.0

See also:break, Flow control, Label, Selection statement

Refer to:

switch( ... ) ... case: ... default: ...

Cross-references:

ECMA 262 edition 2 - section - 7.4.3

ECMA 262 edition 3 - section - 7.5.2

ECMA 262 edition 3 - section - 12.11