登录  注册

首页->Web前端开发技术

定义JavaScript数组的正确方法是

(A)var txt = new Array("tim","kim","jim")

(B)var txt = new Array(1:"tim",2:"kim",3:"jim")

(C)var txt = new Array="tim","kim","jim"

(D)var txt = new Array:1=("tim")2=("kim")3=("jim")

参考答案
继续答题:下一题
微考学堂微考学社

更多Web前端开发技术试题

考试