字符串转为数组

1 var s = "111,222,333,444";
2 var arr = s.split(",");
3 //arr即是转化后的数组
原文地址:https://www.cnblogs.com/yangguoe/p/9275124.html