试题详情
多项选择题JS中正确定义数组的代码是?()

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"]

  • B,D
  • 关注下方微信公众号,在线模考后查看

热门试题