JavaScript-字符串转数组 2021-03-04 JavaScript 字符串 0 评论 字数统计: 24(字) 阅读时长: 1(分) 字符串转数组直接JSON.parse() 12let a = "[1,2,3,3,3]"console.log(JSON.parse(a))