From 21a89ce15e82c568723935da6834a3d5f5642904 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Mon, 26 Nov 2018 12:22:27 +0300 Subject: [PATCH] minor --- 1-js/02-first-steps/04-variables/article.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/1-js/02-first-steps/04-variables/article.md b/1-js/02-first-steps/04-variables/article.md index e22a24aa..50ec5b3e 100644 --- a/1-js/02-first-steps/04-variables/article.md +++ b/1-js/02-first-steps/04-variables/article.md @@ -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. @@ -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