⚡ add missed break line and remove extra one
This commit is contained in:
parent
98be74f56a
commit
212c5275d4
1 changed files with 1 additions and 1 deletions
|
@ -104,6 +104,7 @@ For instance, the variable `message` can be imagined as a box labeled `"message"
|
||||||
We can put any value in the box.
|
We can put any value in the box.
|
||||||
|
|
||||||
We can also change it as many times as we want:
|
We can also change it as many times as we want:
|
||||||
|
|
||||||
```js run
|
```js run
|
||||||
let message;
|
let message;
|
||||||
|
|
||||||
|
@ -261,7 +262,6 @@ myBirthday = '01.01.2001'; // error, can't reassign the constant!
|
||||||
|
|
||||||
When a programmer is sure that a variable will never change, they can declare it with `const` to guarantee and clearly communicate that fact to everyone.
|
When a programmer is sure that a variable will never change, they can declare it with `const` to guarantee and clearly communicate that fact to everyone.
|
||||||
|
|
||||||
|
|
||||||
### Uppercase constants
|
### Uppercase constants
|
||||||
|
|
||||||
There is a widespread practice to use constants as aliases for difficult-to-remember values that are known prior to execution.
|
There is a widespread practice to use constants as aliases for difficult-to-remember values that are known prior to execution.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue