Web worker
There is only one thread for Javascript in browsers. It is enough for the browser to deal with the UI actions. However, the CPU became multi-thread and the Javascript can do much more work in browser. Web workers are developed to utilize multi-core CPU more effectively. The simplest use of workers is for performing a … Read more