https://codingnote.cc/p/63243/
高阶函数及 map、reduce、filter 的实现