解构赋值 - 字符串的解构赋值

        const [a, b] = 'he';
        console.log(a) // h
        console.log(b) // e

  

posted @ 2020-03-23 17:37  banzhuxiang  阅读(254)  评论(0)    收藏  举报