Variable location

    location: WorkerLocation

    Returns workerGlobal's WorkerLocation object.

    MDN Reference