Type mistake
Used "unitialized" instead of "uninitialized"
This commit is contained in:
parent
26bf51af3e
commit
eb49cb9345
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ function func() {
|
|||
func();
|
||||
```
|
||||
|
||||
In this example we can observe the peculiar difference between a "non-existing" and "unitialized" variable.
|
||||
In this example we can observe the peculiar difference between a "non-existing" and "uninitialized" variable.
|
||||
|
||||
As you may have read in the article [](info:closure), a variable starts in the "uninitialized" state from the moment when the execution enters a code block (or a function). And it stays uninitalized until the corresponding `let` statement.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue