You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.
But what if both conditions are true? Then both if blocks would be executed, which is not equivalent to original "if (cond1 || cond2)". The "if" + "else if" is correct in my opinion. Do you have any example showing that "else if" is wrong?
Split 'if' for (cond1 || cond2) condition should be
if(cond1){}
if(cond2{}
Currently:
if(cond1){}
else if(cond2){}
The text was updated successfully, but these errors were encountered: