title: Does JavaScript check remaining conditions in “if”–“else if”–“else” after the first condition is true?
body: <p>In JavaScript, if you have an <code>if</code> … <code>else if</code> … <code>else</code> situation, does the computer keep checking the next condition if it previously triggered another condition? E.g. if the first <code>if</code> condition is true and the code executes, does it still attempt to check the conditions for <code>else if</code> or <code>else</code>?</p>