default: (Label)

A target label for use with the switch statement as a catch-all for any unmatched cases.

Availability:

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

See also: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