Why are constants called “constant variable” in JavaScript console?

前端 未结 0 1541
失恋的感觉
失恋的感觉 2021-01-22 07:34

I\'ve noticed that when you try to change a const value the console returns the following error:

Uncaught TypeError: Assignment to constant variable.
相关标签:
回答
  • 消灭零回复
提交回复
热议问题