The if of Statements for JS executes when a condition is true.
else executes when a condition is false.
else if executes when an alternate condition is true.
if(condition) { code }
if(condition) { code } else { code }
if(condition1) { code } else if(condition2) { code } else if(condition3) { code } else { code }
switch
try
European Computer Manufacturers Association (ECMA)