https://codingnote.cc/p/715162/
JavaScript之数组高阶API—reduce()