NIELIT O Level Exam

Which one of the following is not considered as an error

Which one of the following is not considered as an error

निम्नलिखित में से किसे त्रुटि नहीं माना जाता है

A. Division by zero

B. Missing of semicolons

C. Syntax error

D. Both A and B




Correct Answer is :

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'.

Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad