Report Bug

Qus

What is the output of the following JavaScript code?

<script>
var a;
document.getElementByld("demo").innerHTML = a+1;
</script>
Qus

निम्नलिखित जावास्क्रिप्ट कोड का आउटपुट क्या है?

<script>
var a;
document.getElementByld("demo").innerHTML = a+1;
</script>


A. 0
B. undefined
C. 1
D. NaN


Solution
D. NaN



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