字符串也是有运算扩展符的,可以将字符串转换为数组

const name = "fanfusuzi"
const arrName = [...name]
console.log(arrName) //["f", "a", "n", "f", "u", "s", "u", "z", "i"]