vararr=[2,3,4,5,6];varsum=0;for(vari=1;iarr.length;i++){()sum+=arr}console.log(sum);
8 查阅
vararr=[2,3,4,5,6];varsum=0;for(vari=1;iarr.length;i++){()sum+=arr}console.log(sum);
A.20
B.18
C.14
D.12
参考答案: