Riverview Church

ELSE

else executes when a condition is false.

SYNTAX

if (condition) {
  code
} else {
  code
}

EXAMPLES

TRUE

FALSE

INTERNAL

else if

if

switch

try catch

EXTERNAL

Mozilla Developer Network