Y

Yashika • 3.75K Points
Extraordinary

Q. What will be the output of the following given code of JavaScript?

Code:
var x1 =[,,,];  
var x2 =newArray(10);  
0in x1   
0in x2  
  • (A) true true
  • (B) false true
  • (C) true false
  • (D) false true
  • Correct Answer - Option(C)
  • Views: 124
  • Filed under category JavaScript

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics