Kevin Powell - CommunityKP-C
Kevin Powell - Community6mo ago
36 replies
Faker

How does a web worker work?

Hello, we say javascript is single threaded, I was wondering how come that it's possible to run multiple web workers which act as different threads? What happens the the hood? Is it that our browser, built say in c++ has many threads available and each one is assigned to a particular thread?

But still, our web page is still single threaded, no? Where do the other threads run?
Was this page helpful?