摘要: 原型: array.map(callback,[ thisObject]); callback的参数类似: [].map(function(value, index, array) { // ... }); 三个参数为:当前正在遍历的元素, 元素索引, 原数组本身. 示例: ["1", "2", " 阅读全文
posted @ 2017-05-19 00:34 我在赫尔辛基火车站 阅读(2847) 评论(0) 推荐(0)