Conditional Statements

Conditional statements are sets of commands that execute if specified conditions are true. JavaScript supports three conditional statements: