A
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
var a2 = new Array(3);
0 in a1
0 in a2
- Correct Answer - Option(A)
- Views: 22
- Filed under category JavaScript
- Hashtags:
Discusssion
Login to discuss.