importScripts method

void importScripts(
  1. JSAny urls
)

The importScripts() method of the WorkerGlobalScope interface synchronously imports one or more scripts into the worker's scope.

Implementation

external void importScripts(JSAny urls);