What will be the output of the following JavaScript code? [code] var a1 = [,,,]; var a2 = new Array(3); 0 in a1 0 in a2 [/code]

What will be the output of the following JavaScript code?
Code:
var a1 = [,,,]; 
var a2 = new Array(3); 
0 in a1 
0 in a2
A. true false
B. false true
C. true true
D. false true
 

Tìm kiếm

Back
Top