add missed break line and remove extra one

This commit is contained in:
Lavrentiy Rubtsov 2022-05-17 20:24:34 +06:00 committed by GitHub
parent 98be74f56a
commit 212c5275d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.