问题
I tried to implement this code, here is the link. It works in Chrome, whereas in IE 11 it gives an error 'SharedWorker' is undefined
. But according to caniuse, WebWorkers are supported in IE 11.
Does anyone know who is right?
回答1:
Web workers are indeed supported in IE 11, but shared workers not. From MDN:
来源:https://stackoverflow.com/questions/44708277/are-shared-webworkers-supported-in-ie-11