if...else

Term side of the Card
Topic: Syntax
Unit title: if...else
Categories: Syntax, Statement
Explanation side of the Card

Explanation: The statement used as a control structure for conditional execution of code. If a specified condition is `true`, the code inside the `if` block is executed; otherwise, if an `else` block is provided, the code inside it's executed.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: