Course contentsShow
Web Development
Lesson 2071 of 2,98238. JavaScript Performance in the BrowserPro lesson

Breaking Up Long Tasks with setTimeout

Splitting synchronous work into smaller chunks using setTimeout(fn, 0) to yield to the browser between operations.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.