array.join(‘,‘) //数组转换成字符串,以逗号分隔
array.split(‘,‘) //字符串以逗号分隔成数组
字符串、数组之间的相互转换
原文:https://www.cnblogs.com/student-luo/p/15122845.html