摘要: 一、destructuring--解构赋值 1、数组解构赋值 (1)完全解构 let [a,b,c] = [1,2,3];//普通 console.log(a+":"+b+":"+c); let [a1, [[b1], c1]] = [1, [[2], 3]];//嵌套 console.log(a1 阅读全文
posted @ 2017-03-03 23:16 最骚的就是你 阅读(242) 评论(0) 推荐(0)