다재다능 개발자 성장기 🚀
Assignment to constant variable. 본문
원인
이미 선언한 const 변수에 새로운값을 할당할 때 발행하는 에러이다.
const 변수는 재할당을 허용하지 않는다.
해결방법
const로 선언한 변수를 let으로 변경해준다.
'트러블 슈팅📌' 카테고리의 다른 글
[깃허브] error:failed to push some refs to (0) | 2023.03.27 |
---|---|
Typo in static class property declaration 에러 해결 (0) | 2023.02.05 |
Could not set new data type (0) | 2022.12.18 |
in where clause is ambiguous (0) | 2022.08.14 |
Column count doesn't match value count at row 1 (0) | 2022.07.14 |