Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图实现这段代码,这里是链接。它在 Chrome 中工作,而在 IE 11 中它会给出错误'SharedWorker' is undefined。但是根据caniuse的说法,IE 11 支持 WebWorkers。
'SharedWorker' is undefined
有谁知道谁是对的?
Web workers are indeed supported in IE 11, but shared workers not. From MDN: