data-book-codes icon indicating copy to clipboard operation
data-book-codes copied to clipboard

第 4 节习题

Open iwillwen opened this issue 7 years ago • 0 comments

  1. 将数组 [ 1, 2, 3, 4, 5 ] 转换为 [ 'a1', 'a2', 'a3', 'a4', 'a5' ]
  2. 将数组 [ 1, 2, 3, 4, 5 ] 转换为 [ 'a1', 'b2', 'c3', 'd4', 'e5' ]
  3. 将数组 [ 1, 2, 3, 4, 5 ] 转换为 [ 1, 4, 9, 16, 25 ]
  4. 查询 JavaScript 中 Array.prototype.map 方法的详细文档,并将数组 [ 0, 0, 0, 0, 0 ] 转换为 [ 'A', 'B', 'C', 'D', 'E' ]
  5. 提取数组 [ 1, 2, 3, 4, 5 ] 中的 [ 2, 3, 4 ]

iwillwen avatar May 29 '18 01:05 iwillwen