DEV Community

Discussion on: JavaScript Fundamentals

Collapse
 
jakob18 profile image
jakob18

In the if explanation, not always we use else statements, sometimes we do some if ones after another, because we want to test all, and with else or else if the first that is true it will discard the other else if.

Collapse
 
dani8439 profile image
Dani Schuhman

Excellent point.