importScripts

external fun importScripts(vararg urls: String)(source)

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


external fun importScripts(vararg urls: URL)(source)