let1 let, const LET, CONSTconst : 재할당 불가능const a = 10a = 20VM782:1 Uncaught TypeError: Assignment to constant variable. at :1:3에러let : 재할당 가능let a = 10a = 20console.log(a)20 2018. 5. 23. 이전 1 다음