ES6 新語法有很多,第一篇就以先前 JavaScript小學-variable變數 作延伸,介紹 let、const ,為什麼不用 var 就好非要多了解新的語法呢?來看看吧~
let
const
var