The getRegistrations() method of the ServiceWorkerContainer, in an array.
getRegistrations()
ServiceWorkerContainer
MDN Reference