JS Coding Questions Logo
JS Coding Questions
#55🎯 Exercise💻 Code

JavaScript Coding Exercise 55

Advertisement

728x90
javascript
1let zero = new Number(0);
2
3if (zero) {
4
5console.log("If");
6} else {
7
8console.log("Else");
9}

Choose the correct output:

A
If
B
Else
C
NaN
D
SyntaxError

Advertisement

Responsive Ad
54of86