Array.prototype.reduce javascript reduce() 用法,1.Sumallthevaluesofanarrayvarsum=[0,1,2,3].reduce(function(a,c){returna+c;},0);//sumis6 ...
確定! 回上一頁