js怎么把字符串转换

js怎么把字符串转换

字符串变成数组就是把一个个的字符全部筛选出来1 正则表达式varstring=“abcdedef”var obj="string".replace((.)(?=[^$])g,"$1,").
JavaScript330