网上答案千篇一律 各种循环翻来覆去 其实简单的亚批 废话不说,上代码 let a = ['1','2'] let b = a.map(parseFloat); console.log(b); 试试就知道 流批不流批