認識Closure前,要先知道Lexical Scope! Lexical Scope 定義函式與其可使用的變數範圍若fn2包在fn1內,fn2可以使用fn1的變數,這就是fn2的Lexical ...
確定! 回上一頁