This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
var syncReg = SyncEvent.registration
No compatibility data found. Please contribute data for "api.SyncEvent.registration" (depth: 1) to the MDN compatibility data repository.