摘要: 1 //1、解构数组 2 let arr1 = ['apple', 'coffee', 'cake']; 3 let [fruit, drink, dessert] = arr1; 4 console.log(fruit, drink, dessert); 5 //2、解构对象 6 let o... 阅读全文
posted @ 2018-04-17 23:37 z春眠不觉晓z 阅读(503) 评论(0) 推荐(0)