X Home About The Rejection Diary Code Editor HTML Javascript Youtube Videos Thermdynamics Automobile RAC Joker Quotes Motivational Quotes Contact Disclaimer Privacy Policy
Learn with Joker

Else If Statement

Else If Statement

Else If Statement:- In the javascript program, if you want to run the program which have more than two condition like an example of program shown below, you can use the else if statement in the program of javascript. This statement is very powergul so you can give the hundredsof condistions by using this statement. Below a syntax is shown which means how to use the else if statement in thw program.

Lets check how its work in the program:-