JavaScript if else

JavaScript if else


JavaScript if else
JavaScript Else If statement used to specify a new condition if the first condition is false. 
Example1
Output
Example2
Output