摘要: ####1.将一串字符串转化为数组 ####(1)将一串字符串转化为数组(一项) var str = 'asdfghjl' console.log(str.split()); //["asdfghjl"] ####(2)将一串字符串转化为数组(多项) var str = 'asdfghjl' con 阅读全文
posted @ 2020-11-28 21:14 17135131xjt 阅读(50) 评论(0) 推荐(0) 编辑