When an inner function gains and USES access to its outer function's variables it is known as a closure.
当内部函数获得和使用其外部函数的变量时,就称其为一个闭包。
Because the inner function holds a reference to the outer function's variables, the scope object with property a will not be garbage collected.
由于内部函数持有到外部函数的变量的引用,所以这个带属性a的范围对象将不会被垃圾收集。
Later, after the outer function has returned, when the inner function is called, the outer function's local variables will still be available to it.
这样的话,当外部函数返回之后,在调用内部函数时,外部函数的局部变量仍然是可用的。
When more than one inner function exists, closures can have effects that are not as easy to anticipate.
当有一个以上的内部函数时,闭包产生的效果可能没有预期所想像的那样简单。
Auditing management is the higher form in enterprise auditing. It has unique inner function and is the inevitable requirement of modern enterprise management.
管理审计是企业审计的高级形式,具有独特的内在功能,是现代企业管理的必然要求。
A nested, or inner, function can inherit the arguments and variables of its outer function, and is private to that function.
一个嵌套的内部函数可以继承外部函数的参数和变量,并由该外部函数私有。
A nested, or inner, function can inherit the arguments and variables of its outer function, and is private to that function.
一个嵌套的内部函数可以继承外部函数的参数和变量,并由该外部函数私有。
应用推荐