en.javascript.info/1-js/8-more-functions/03-closure/3-function-in-if/solution.md
Ilya Kantor 3defacc09d up
2016-11-12 19:38:58 +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.