Y
Hacker News
new
|
ask
|
show
|
jobs
by
OJFord
1458 days ago
Yes, just as it would if you made the assignment on a line previous to the return statement.
It would also error if there was no 'cache' in scope, and anything else you can imagine.