DEV Community

Discussion on: There's no "else if" in JS

Collapse
 
kenorb profile image
kenorb

Please re-read: w3schools.com/js/js_if_else.asp

Use else if to specify a new condition to test, if the first condition is false.