Closure is when a "function" "remembers" its lexical scope even when the function is executed outside that lexical scope.
Closure 是指說一個function記住了他在被定義的當下時的lexical scope,即使function在執行的時候是在當時的lexical scope之外
Closure is when a "function" "remembers" its lexical scope even when the function is executed outside that lexical scope.
Closure 是指說一個function記住了他在被定義的當下時的lexical scope,即使function在執行的時候是在當時的lexical scope之外