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.
Latest
function importScripts
import { importScripts } from "https://deno.land/x/deno@v2.0.4/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)[]