From 99f6e0729b357704d3d860afb8d42e4a6a6b9848 Mon Sep 17 00:00:00 2001 From: Jimmy Lee Date: Mon, 12 Jun 2017 21:14:09 -0500 Subject: [PATCH 1/2] spelling fix --- 1-js/02-first-steps/04-variables/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/04-variables/article.md b/1-js/02-first-steps/04-variables/article.md index 09b1172fa3..dda84af5c5 100644 --- a/1-js/02-first-steps/04-variables/article.md +++ b/1-js/02-first-steps/04-variables/article.md @@ -314,7 +314,7 @@ And the last note. There are some lazy programmers who, instead of declaring a n 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. -Such a programmer saves a little bit on variable declaration, but looses ten times more on debugging the code. +Such a programmer saves a little bit on variable declaration, but loses ten times more on debugging the code. An extra variable is good, not evil. From dbade6cd11c095b9b7eb2c2b7d29132508f2a760 Mon Sep 17 00:00:00 2001 From: Jimmy Lee Date: Mon, 12 Jun 2017 21:15:35 -0500 Subject: [PATCH 2/2] spelling fixes --- 1-js/02-first-steps/05-types/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/02-first-steps/05-types/article.md b/1-js/02-first-steps/05-types/article.md index 9c8cec65ee..c7f09efcb1 100644 --- a/1-js/02-first-steps/05-types/article.md +++ b/1-js/02-first-steps/05-types/article.md @@ -1,6 +1,6 @@ # Data types -A variable in JavaScript can contain any data. A variable can at one moment be a string and later recieve a numeric value: +A variable in JavaScript can contain any data. A variable can at one moment be a string and later receive a numeric value: ```js // no error @@ -8,7 +8,7 @@ let message = "hello"; message = 123456; ``` -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. +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. 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.