JS split方法

JS split方法

var xxx="1112+555-555*"var reg=(d+|D)gvar arr=xxx.match(reg)console.log(arr)JavaScript split() 方法是按分隔符分割字
JavaScript130