Conditional statements are used to perform different actions based on different conditions.
In JavaScript we have the following conditional statements:
● Use if to specify a block of code to be executed, if a specified condition is true
● Use else...