Skip to content

Small spelling fixes #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 1-js/02-first-steps/04-variables/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions 1-js/02-first-steps/05-types/article.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# 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
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.

Expand Down