Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
iliakan committed Nov 26, 2018
1 parent b79f8d7 commit 21a89ce
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions 1-js/02-first-steps/04-variables/article.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Variables

Most of the time, a JavaScript application needs to work with information. Here are 2 examples:
1. An online-shop -- the information might include goods being sold and a shopping cart.
1. An online-shop -- the information might include goods being sold and a shopping cart.
2. A chat application -- the information might include users, messages, and much more.

Variables are used to store this information.
Expand Down Expand Up @@ -221,14 +221,13 @@ alert(num); // 5

That's a bad practice, it gives an error in the strict mode:

```js run untrusted
```js run refresh untrusted
"use strict";

*!*
num = 5; // error: num is not defined
*/!*
```

````
## Constants
Expand Down

0 comments on commit 21a89ce

Please sign in to comment.