- From: Tomás Aparicio <notifications@github.com>
- Date: Sat, 28 Feb 2015 11:05:10 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Saturday, 28 February 2015 19:05:38 UTC
I think should not applicable now, since the `importScripts` built-in function has a legacy behavior since Web Worker and Shared Worker specifications also support it. IMO exceptions are a layer on control-flow which is too much overloaded and abused in general, and in JavaScript engines are not too much optimized. As it's sync, maybe returning a `boolean` could be fine as well, but in the future it will not be able to support ES6 module `import` behavior as `return` --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/642#issuecomment-76540406
Received on Saturday, 28 February 2015 19:05:38 UTC