var j = 0;
for (j = 0; j < checkInUnit.length; j++) {
adjustArray.push([checkInUnit[j], totalCheckInUserPerUnit[j]]);
}
adjustArray輸出10,1,11,5,12,8,13,2,16,6,17,15,18,15,19,3如何使用javascript訪問數組元素?
如果我要訪問10, 11,12,13,16,17,18等?
我如何在上面的上下文中使用javascript訪問。
排序。 – raina77ow
訪問具體如何?如果您有索引,請使用括號!你不會有一個數組充滿數組嗎? – adeneo