在JavaScript中,将字符串转换为数组可以通过以下几种方法实现: 1. 使用`split()`方法: ```javascriptvar str = \"Hello, World!\";var arr = str.spli...