Which method should I do if I want to loop through an object with 100000 elements in Javascript?

Let’s say I have a big data array filled with numbers. Like 100 000 of them. Which is the best way to "loop through" the entire object? I’ve been reading about multithreading, web workers and so on. Also if I should use .reduce instead of for-loops with bigger data. Is those the best ways to… Read More Which method should I do if I want to loop through an object with 100000 elements in Javascript?