let arr = ['1','2','3'];
arr.split(',').map(Number);
js字符串数组['1','2','3']转number
猜你喜欢
转载自www.cnblogs.com/lanshu123/p/11114540.html
今日推荐
周排行