Function importScripts

    • Fetches each URL in urls, executes them one-by-one in the order they are passed, and then returns (or throws if something went amiss).

      MDN Reference

      Parameters

      • Rest...urls: (string | URL)[]

      Returns void

    • Parameters

      • Rest...urls: string[]

      Returns void