当前位置:百科知识 > 等级考试

问题描述:

[单选] 实现创建一个 JavaScript 数组的语法是()
A.var txt = newArray("tim","kim","jim") B.var txt = newArray(1:"tim",2:"kim",3:"jim") C.var txt = new Array="tim","kim","jim" D.var txt = newArray:1=("tim")2=("kim")3=("jim")
参考答案:查看
答案解析:
☆收藏

随机题目