Web Worker - new feature, which introduced sort of 2nd threads in JavaScript. You can assign a long running task to Web Worker, and keep your main thread free to boost performance. Main UI thread and Worker thread can talk to each other by exchanging messages.

Watch to learn more about Web Worker.

https://youtube.com/watch?v=Y_AkPLz8Kg8

#javascript #itarticles #webworker #worker #tutorial

Web Worker - boost JavaScript performance by having 2nd thread
8.70 GEEK