Array.prototype.forEach()&&Array.prototype.map()

https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach

https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/map

原文地址:https://www.cnblogs.com/darr/p/4864407.html