register
fun
register
(
scriptURL
:
String
,
options
:
RegistrationOptions
=
definedExternally
)
:
Promise
<
ServiceWorkerRegistration
>
(source)