https://www.cnblogs.com/hanqingtao/p/9877100.html https://www.cnblogs.com/guanqiweb/p/10231146.html JS数组reduce()方法