下面这段代码,介绍了reduce 的用法: <html> <script> var a = [1,2,3,4]; function fn(pre, cur, index, arr){ console.log(`previous: ${pre}, ...
確定! 回上一頁