0
kicks
Simulate Threading Using Javascript
Large loops in Javascript tend to slow down browsers and cause the user experience to degrade. With the use of enclosures and setTimeout, we can simulate 'threading' and improve the performance of our page. This post explains how to create a simple class to handle 'threading'.