摘要: 1 map let list = [1, 2, 3, 4, 5]; let other = list.map((d, index) => { return d * 2; }); 2 filter let list = [1, 2, 3, 4, 5]; let other = list.filter( 阅读全文