else

Availability

Flash Player 4.

Usage

if (condition){
  statement(s);
} else (condition){
  statement(s);
}

Parameters

condition An expression that evaluates to true or false.

statement(s) An alternative series of statements to run if the condition specified in the if statement is false.

Returns

Nothing.

Description

Statement; specifies the statements to run if the condition in the if statement returns false.

See also

if