A.vararr=newArray(1:"George",2:"John",3:"Thomas") B.vararr=newArray("George","John","Thomas") C.vararr=newArray:1=("George")2=("John")3=("Thomas") D.vararr=["George","John","Thomas"]
A.typeofarr B.arrinstanceofArray C.arr.__proto__.constructor===Array D.Object.prototype.toString.call(arr)===’[objectArray]’
下列代碼彈出的正確結(jié)果是?()
A.0,test,true,true B.0,test,true,false C.1,test,1,2 D.1,truetest,2,1