Ubuntu – Why does NodeJS spawn parallel threads/process to execute an expansive for loop?
I've been testing some code to see how does NodeJS event loop actually works. So I get in touch with this piece of code: console.time('Time spending'); let list = []; for (let index = 0; index < 1000000; index++) {…