Here are the limitations of a Web Worker:
  • A web worker cannot directly manipulate the DOM
  • It has limited access to methods and properties of the window object.
  • It cannot be run directly from the file system. A web worker needs a server to run.
BY Best Interview Question ON 31 Mar 2020