Jason Jeffries

26%
Flag icon
Avoid creating functions within a loop. It can be wasteful computationally,and it can cause confusion, as we saw with the bad example. We avoid the confusion by creating a helper function outside of the loop
JavaScript: The Good Parts: The Good Parts
Rate this book
Clear rating
Open Preview