A

Admin • 833K Points
Coach

Q. Consider the following code snippet . What will be the result?

Code:
var a1 = [,,,];
var a2 = new Array(3);
0 in a1
0 in a2
  • (A) true false
  • (B) true true
  • (C) false true
  • (D) false true
  • Correct Answer - Option(A)
  • Views: 22
  • Filed under category JavaScript
  • Hashtags:

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.