closes #1377
This commit is contained in:
parent
9ed0241267
commit
43522e125b
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ To declare a constant (unchanging) variable, use `const` instead of `let`:
|
|||
const myBirthday = '18.04.1982';
|
||||
```
|
||||
|
||||
Variables declared using `const` are called "constants". They cannot be changed. An attempt to do so would cause an error:
|
||||
Variables declared using `const` are called "constants". They cannot be reassigned. An attempt to do so would cause an error:
|
||||
|
||||
```js run
|
||||
const myBirthday = '18.04.1982';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue