Function importScripts
- importScripts(...urls: (string | URL)[]): void
Parameters
- ...urls: (string | URL)[]
Returns void
- importScripts(...urls: string[]): void
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).
Parameters
- ...urls: string[]
Returns void
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