4
2
54
0
1
1. 常規(guī)操作 2. 使用reduce 3. 使用ECMAScript 2019 中數(shù)組的flat 方法 Array.prototype.fla...
ES5 寫法 ES6 寫法