标签: javascript
我找到并阅读了下面引用的句子。
In programming languages having first-class functions, closures (that are also called function closures or lexical closures) are a technique for implementing lexically-scoped name binding. Concerning its operation, a closure is nothing but a data structure storing a function together with an environment, which maps all associating each free variable of the function (that are used locally, but defined in an enclosing scope) with the value or storage location the name was bound to at the time the closure was created.
是否有人理解" ...地图所有关联函数的每个自由变量......"?我认为句子的部分应该是" ...映射函数的所有关联和每个自由变量......"我很感激任何意见。
谢谢
史蒂夫