mapfilterreduce(重要)用reduce实现map的功能用reduce实现filter的功能 map不会改变原数组 filter简写为: reduce(重要) 用reduce实现map的功能 用reduce实现filter的功能