where does the system store the variable referred by the closure
If a closure is returned in a outer function and that closure refers some
variables defined in that outer function, is the outer function will be
recycled after the return statement ?
And as the closure is still have access to the variables, where does the
system store these variables ?
thanks!
No comments:
Post a Comment