This commit is contained in:
Ilya Kantor 2019-08-06 09:50:01 +03:00
parent fc66b43ce3
commit b7a0591007
3 changed files with 8 additions and 18 deletions

View file

@ -282,7 +282,7 @@ let sayHi = function(who) {
};
```
The problem with that code is that the value of `sayHi` may change. The function may go to another variable, and the code will start to give errors:
The problem with that code is that `sayHi` may change in the outer code. If the function gets assigned to another variable instead, the code will start to give errors:
```js run
let sayHi = function(who) {