I have done some research because I need to know how multithreading works in javascript, but I'm still missing some things. I have a question:
If I have for example 4 cores in my CPU and I want to run 2 javascript scripts in 2 different tabs in a browser (e.g. in chrome - does it matter if it's chrome or firefox?) is it possible to run them both at the same time using 2 cores?
If the answer is yes - do I need to use Web Workers?
Any help would be appreciated.