Question

Why can't a javascript file in a WebWorker access document object, when a normal external javascript file can access the document object? Or can a WebWorker access a document object? Because in w3schools it is given that since webworkers are external javascript files, they cannot access the document object, window object, parent object.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top