var colorText = "red,blue,green";
var colorGet = colorText.split(/[^/,]+/);为什么结果是["", ",", ",", ""],最后一个空字符串是怎么回事?正则表达式splitJavaScript