函数闭包(function closure )是指包含函数的简单描述和它的词法环境(lexical environment)的对象。 函数的词法环境包括函数作用域链中所有的变量、属性、方法和对象以及它们的值。
基于46个网页-相关网页
词法环境
Lexical context
以上为机器翻译结果,长、整句建议使用 人工翻译 。
在词法上确定范围是指在本地环境中定义变量。
Lexically scoped variables refer to the local environment in which they were defined.
youdao
应用推荐
模块上移
模块下移
不移动