|
|
|
|
|
by wtetzner
4733 days ago
|
|
Actually, in this case it's not the design of JavaScript that's the problem. It's V8's implementation of closures. The two functions are sharing the same environment object, but there's nothing in JavaScript the language that dictates this implementation. |
|