location

Returns workerGlobal's WorkerLocation object.

MDN Reference