let arr = ['泰迪','柯基','金毛'] // 存 localStorage.setItem('ARR', JSON.stringify(arr)) // 取 arr = JSON.parse(localStorage.getItem('ARR'))