ServiceWorkerGlobalScope: registration property
Service Workers APIservice
Service Workers APIservice
The registration read-only property of the ServiceWorkerGlobalScope interface returns a reference to the ServiceWorkerRegistration object, which represents the service worker's registration.
Value
A ServiceWorkerRegistration object.