JS怎么实现把字符串拆分成数组,并调出指定使用split方法就行了var array = "200,400,300".split(",")var nums = [ ]for (var i=0 i< array.length 2023-03-21JavaScript180