闭包,通俗来说不就是 内部 与全局的 双向通道吗?
求大神 神点。。。
7 回复
我也不知道该怎样表述闭包
Closures are functions that refer to independent (free) variables. In other words, the function defined in the closure ‘remembers’ the environment in which it was created.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Closures