Which of the following is not considered as an error in JavaScript?
(a) Syntax error
(b) Missing of semicolons
(c) Division by zero
(d) Missing of Bracket
(a) Syntax error
(b) Missing of semicolons
(c) Division by zero
(d) Missing of Bracket
Right option is (c) Division by zero
Easiest explanation: Division by zero is not an error in JavaScript: it simply returns infinity or negative infinity. There is one exception, however: zero divided by zero does not have a well defined value, and the result of this operation is the special not-a-number value, printed as NaN.