把数组的元素全部转化为Number类型
var dd = ['11', '123', '56', '0156'];
dd = dd.map(Number)
console.log(dd) //[11, 123, 56, 156]
将数字转化为千分符 ```javascript const num = 12654830.2650; const data = num.toLocaleString() console.log(data) //12,654,830.265
let nf = new Intl.NumberFormat(‘en-US’); console.log(nf.format(num)) //12,654,830.265 ```