Name the different forms of IF statement in JavaScript
Answers
Answered by
1
Explanation:
JavaScript includes three forms of if condition: if condition, if else condition and else if condition. The if condition must have conditional expression in brackets () followed by single statement or code block wrapped with { }. 'else if' statement must be placed after if condition. It can be used multiple times.
Similar questions