Report Bug
Qus : Which one of the following is not considered as an error
Qusनिम्नलिखित में से किसे त्रुटि नहीं माना जाता है

A. Division by zero
B. Missing of semicolons
C. Syntax error
D. Both A and B


Solution
D. Both A and B



Explanation

In JavaScript putting semicolon at the end of statement is optional. so that Missing of semicolons is not an error. 

Divide by zero is also not an error in JavaScript when we divide any with zero it give result 'Infinite'.




Report Bug