Skip to content

Commit ef35cf4

Browse files
authored
Merge pull request javascript-tutorial#37 from jimmyhlee94/master
Small spelling fixes
2 parents 06f9407 + dbade6c commit ef35cf4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ And the last note. There are some lazy programmers who, instead of declaring a n
314314
315315
As the result, the variable is like a box where people throw different things without changing the sticker. What is inside it now? Who knows... We need to come closer and check.
316316
317-
Such a programmer saves a little bit on variable declaration, but looses ten times more on debugging the code.
317+
Such a programmer saves a little bit on variable declaration, but loses ten times more on debugging the code.
318318
319319
An extra variable is good, not evil.
320320

1-js/02-first-steps/05-types/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Data types
22

3-
A variable in JavaScript can contain any data. A variable can at one moment be a string and later recieve a numeric value:
3+
A variable in JavaScript can contain any data. A variable can at one moment be a string and later receive a numeric value:
44

55
```js
66
// no error
77
let message = "hello";
88
message = 123456;
99
```
1010

11-
Programming languages that allow such thing are called "dynamically typed", meaning that there are data types, but variables are not bound to any of them.
11+
Programming languages that allow such things are called "dynamically typed", meaning that there are data types, but variables are not bound to any of them.
1212

1313
There are 7 basic data types in JavaScript. Here we'll study the basics, and in next chapters we'll talk about each of them in detail.
1414

0 commit comments

Comments
 (0)