Skip to main content
The Deno 2 Release Candidate is 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.40.5/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).

MDN Reference

Parameters

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