From dd0fc63d794654da139f4259fd3cc8894805e483 Mon Sep 17 00:00:00 2001 From: Goran Date: Mon, 5 Nov 2018 22:40:03 +0100 Subject: [PATCH] Link to the list of reserved words Added link to the list of reserved words on developer.mozilla.org --- 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 39438575..e22a24aa 100644 --- a/1-js/02-first-steps/04-variables/article.md +++ b/1-js/02-first-steps/04-variables/article.md @@ -195,7 +195,7 @@ Technically, there is no error here, such names are allowed, but there is an int ```` ````warn header="Reserved names" -There is a list of reserved words, which cannot be used as variable names, because they are used by the language itself. +There is a [list of reserved words](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#Keywords), which cannot be used as variable names, because they are used by the language itself. For example, words `let`, `class`, `return`, `function` are reserved.