) else (

The else statement allows the programmer to write a block of code that only runs if an if statement doesnt run.

if false (
  // doesnt run this
) else (
  // runs this
)

Last updated