val = arr[1,0,0,8,6,"是","中","国","移","动","的","客","服","电","话",1]
慕标5832272
浏览 769回答 1
1回答
HUX布斯
你知道逗号运算符吗?var a = 1, 2;// a === 1var a = (1, 2);// a === 2var a = (1, 2, 3, 4, 5, 6);// a === 6;所以 arr[1,2] 相当于 var i = (1, 2); arr[i],也就是 arr[2]