Files

9 lines
698 B
Markdown
Raw Permalink Normal View History

2023-01-02 04:47:46 +04:00
# [const] keyword
2024-08-30 14:10:33 +05:30
Constants are block-scoped, much like variables declared using the `let` keyword. The value of a constant can't be changed through reassignment (i.e. by using the assignment operator), and it can't be re-declared (i.e. through a variable declaration). However, if a constant is an object or array its properties or items can be updated or removed.
2023-01-02 04:47:46 +04:00
Visit the following resources to learn more:
2024-06-06 23:23:55 +01:00
- [@article@JavaScript Constants - CodeGuage](https://www.codeguage.com/courses/js/constants)
- [@article@const keyword - MDN Docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const)
2026-06-12 11:06:50 +02:00
- [@article@JavaScript Variables](https://javascript.info/variables)