typo / wording "remnant"

This commit is contained in:
11un 2019-02-04 08:54:24 -08:00
parent 3a6d70bd34
commit 37f46bd610

View file

@ -74,7 +74,7 @@ sayHi();
alert(phrase); // Error: phrase is not defined
```
As we can see, `var` pierces through `if`, `for` or other code blocks. That's because a long time ago in JavaScript blocks had no Lexical Environments. And `var` is a reminiscence of that.
As we can see, `var` pierces through `if`, `for` or other code blocks. That's because a long time ago in JavaScript blocks had no Lexical Environments. And `var` is a remnant of that.
## "var" are processed at the function start