Skip to content

Commit 21bc29e

Browse files
committed
Other spelling
Spelling corrections
1 parent 4f55096 commit 21bc29e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

1-js/02-first-steps/04-variables/article.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ It may be interesting to know that there also exist [functional](https://en.wiki
141141
142142
In such languages, once the value is stored "in the box" -- it's there forever. If we need to store something else -- the language forces to create a new box (declare a new variable), we can't reuse the old one.
143143
144-
Though it may seem a little bit odd at the first sight, these languages are quite capable of serious development. More than that, there are areas like parallel computations where this limitation infers certain benefits. Studying of such a language (even if not planning to use it soon) is recommended to broaden the mind.
144+
Though it may seem a little bit odd at first sight, these languages are quite capable of serious development. More than that, there are areas like parallel computations where this limitation infers certain benefits. Studying of such a language (even if not planning to use it soon) is recommended to broaden the mind.
145145
```
146146
147147
## Variable naming [#variable-naming]
@@ -277,7 +277,7 @@ Benefits:
277277
278278
When should we use capitals for a constant, and when -- name them normally? Let's make that clear.
279279
280-
Being a "constant" just means that the value never changes. But there are constants that are known prior to execution (like a hexadimal value for red), and there are those that are *calculated* in run-time, during the execution, but do not change after the assignment.
280+
Being a "constant" just means that the value never changes. But there are constants that are known prior to execution (like a hexadecimal value for red), and there are those that are *calculated* in run-time, during the execution, but do not change after the assignment.
281281
282282
For instance:
283283
```js
@@ -290,7 +290,7 @@ In other words, capital-named constants are only used as aliases for "hard-coded
290290
291291
## Name things right
292292
293-
Talking about variables, there's one more exteremely important thing.
293+
Talking about variables, there's one more extremely important thing.
294294
295295
Please name the variables sensibly. Take time to think if needed.
296296

0 commit comments

Comments
 (0)