5 ms·
This isn't really a tricky question who understands how JS works. If a person has not experienced this situation of a function call (closures) within a loop, I'
by sterex 9y ago
This isn't really a tricky question who understands how JS works. If a person has not experienced this situation of a function call (closures) within a loop, I'd suspect he has not much practical experience.
It's much more difficult to understand this theoretically than when encounter this while you code.