Multiple choice How to write an IF statement in JavaScript? if i = 5 if i == 5 then if (i == 5) if i = 5 then Reveal answer Fill a bubble to check yourself C Correct answer Explanation An if statement in JavaScript requires the condition to be enclosed in parentheses, and uses '==' for equality comparison.