Link to the list of reserved words
Added link to the list of reserved words on developer.mozilla.org
This commit is contained in:
parent
da0063e450
commit
dd0fc63d79
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ Technically, there is no error here, such names are allowed, but there is an int
|
||||||
````
|
````
|
||||||
|
|
||||||
````warn header="Reserved names"
|
````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.
|
For example, words `let`, `class`, `return`, `function` are reserved.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue