1.将string数组转换为number数组 let strArr = ["2", "3", "1", "1"]; let numArr = strArr.map(Number); console.log