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