en.javascript.info/1-js/06-advanced-functions/03-closure/3-function-in-if/solution.md
Ilya Kantor ab9ab64bd5 up
2017-03-21 14:41:49 +03:00

3 lines
No EOL
135 B
Markdown

The result is **an error**.
The function `sayHi` is declared inside the `if`, so it only lives inside it. There is no `sayHi` outside.