let arr = ['1','2','3'];
arr.split(',').map(Number);

 

相关文章: