JS字符串转字符数组 字符串转字符数组除了普通的循环外,还有更简单的array方法:array.from var arr = Array.from('asdafass'); console.log(arr); 结果: