Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/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.0/cli/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)[]