单选题
Web程序设计
2019-02-28
下列定义数组的语句中,正确的JavaScript语句是( )。
A.var aa=new Array="george", "tom", "thomas"
B.var aa=new Array(1:"geigre", 2:" tome", 3:"thomas")
C.var aa=new Array ("george","tome"," thomas")
D.var aa=new Array[3]("george","john","thomas")
参考答案
C
答案解析
暂无解析
你可能感兴趣的试题
A.clent.navName
B.navigator.appName
C.browser.navName
D.browser.appName
A.str="2"; document. write("H"+str.sub()+"O");
B.str="2"; document. write("H"+str.sup()+"O");
C.str="2"; document. write(H+str.sub()+O);
D.str="2"; document. write(H+str.sup()+O);