The docs for SharedWorker state that you can use it from other workers:
Except when I try to use it from either a Worker or SharedWorker context I get a ReferenceError:
Chrome Version 114.0.5735.106
Is there a different API I should be using to get to the SharedWorker constructor?

