https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce 转载于:https://www.cnblogs.com/skating/p/6184567.html