1. Syntax error
  2. Missing of semicolons
  3. Division by zero
  4. All of the mentioned
4 views

1 Answers

Answer: Option 3

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 welldefined value, and the result of this operation is the special not-a-number value, printed as NaN.

4 views