상수(constant)2024년 11월 23일 상수는 한번 정해지면 변하지 않는 값이다. 상수는 단 한 번만 할당(assignmet)할 수 있다. ES6에서 도입한 const키워드(Keyword)를 사용해 상수를 표현할 수 있다.