Fork me on GitHub

ES6用法总结

1.结构数组 function fast(){ return ['apple','orgin','big'] } //原始方式 let arry = fast(); let a = arry[0]; //es6 let [a,b,c] = fast(); console.log(a) // appl
posted @ 2020-04-08 22:45  欢欢11  阅读(184)  评论(0编辑  收藏  举报