Else Statement:- In the javascript program, if you want to run the program which have two options that are TRUE and FALSE, else statement is used after the if statement. But in this statement, you can only have two options in the expression.
Lets check how its work in the program:-