Question · JavaScript and TypeScript course · Module 10: TypeScript in Practice

Shared Workers vs Dedicated Workers

What distinguishes Shared Workers from Dedicated Workers?

Answer options

  • Dedicated Workers cannot send messages
  • Shared Workers can be shared between browser tabs
  • Shared Workers are faster than Dedicated Workers
  • Shared Workers have access to the DOM

You can check the correct answer by solving this task in the CodeWorlds game.