再代入できなくなるよってこと。これ最初はびっくりする。freezeではないけど知って使えば便利ではある。

kuykuy のブックマーク 2016/02/09 17:37

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

ES2015 const is not about immutability · Mathias Bynens

    This seems to be a very common misconception that just won’t die. I keep running into it in blog posts, Twitter discussions, and even books. Here’s my attempt at setting things straight. const crea...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう