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?
Web workers are indeed supported in IE 11, but shared workers not. From MDN: