Re:From jQuery to JavaScript and back again
by masklinn on Friday February 08, 2013 @10:24AM
(#5188252)
That's not really an issue of function scope. It's an issue of closing over mutable bindings, though loops + function scope do make it more likely for the issue to arise.
And ES6 adds block scopes (via `let`, inherited from Mozilla's javascript extensions).
And ES6 adds block scopes (via `let`, inherited from Mozilla's javascript extensions).
That strays from the original complaint though.