Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/dts/lib.webworker.d.ts>importScripts

A modern runtime for JavaScript and TypeScript.
Go to Latest
function importScripts
import { importScripts } from "https://deno.land/x/deno@v1.28.3/cli/tsc/dts/lib.webworker.d.ts";

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 | URL)[]