闭包是函数字面量(unction literal)——是包含了一个递延计算的表达式,该计算可被当成值对待,在晚些时候再调用。
Closures are function literals - expressions that embody a deferred computation that can be treated as a value and invoked later.
闭包是函数字面量(unction literal)——是包含了一个递延计算的表达式,该计算可被当成值对待,在晚些时候再调用。
Closures are function literals - expressions that embody a deferred computation that can be treated as a value and invoked later.
应用推荐