Menu
Riverview Church

IF

if executes when a condition is true.

SYNTAX

if (condition) {
    code
}

EXAMPLES

TRUE

FALSE

INTERNAL

else

else if

switch

try catch

EXTERNAL

Mozilla Developer Network