map(Number)和map(String) let array = ['1', '2', '3','4'] let arr = array.map(Number) console.log(arr) // [1, 2, 3, 4] let array = [1, 2, 3, 4] let arr = array.map(String) console.log(arr) // ['1', '2', '3', '4']...