Processing large amounts of data in JavaScript

Have you ever wondered why when you are processing a lot of data (for example thousands of DOM manipulation) browser usually freezes? It’s because of the way JavaScript works. It makes use only of one thread at a time. It can’t multitask. So all the events are being queued – mouse click, animations, data processing […]