en.javascript.info/1-js/06-advanced-functions/03-closure/5-function-in-if/solution.md
Ilya Kantor 964ed57c42 closure
2019-12-26 14:59:57 +03:00

135 B

The result is an error.

The function sayHi is declared inside the if, so it only lives inside it. There is no sayHi outside.