Categories
Quizzes
Ranks
Article
FAQ
Toggle Sidebar
If statement
If statement
Conditional branching that runs code only when a condition is true.
Progress
0/2 solved
2 questions
Concept practice
0/2 answered
Question 1 of 2
Question 1
How to write an IF statement in JavaScript?
if (i==5)
if i==5 then
if i = 5
if i == 5 then
Previous
Check answer