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

CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad