title: What's the difference between importScripts and ES6 modules/import?
body: <p>I currently implement a front-end along with a service worker.
  As I require several code pieces for my service worker, I opted to use the <a href="https://www.w3.org/TR/service-workers-1/#importscripts" rel="noreferrer">importScripts</a> function from the standard.</p>
  
  <p>I really don't get why importScripts was added to this standard as <a href="http://2ality.com/2014/09/es6-modules-final.html" rel="noreferrer">modules</a> became part of the ES6 standard about 3 years ago (although still missing in most browsers, if not using a flag). </p>
  
  <p>Can someone elaborate on this?
  I assume it's related to the error handling and the like...</p>