js怎么定义一个数组你好,js定义数据,给你个例子:var xx = new Array(2)备注:定义3个xx[0]="0"xx[1]="1"xx[2]="2"var sc=new Array(2023-02-18JavaScript320