Skip to content

Commit

Permalink
Update files/en-us/web/api/client/postmessage/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
himanshugarg and github-actions[bot] committed Nov 17, 2023
1 parent f280a10 commit 4244e60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/api/client/postmessage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ None ({{jsxref("undefined")}}).

## Examples

The code below sends a message from a service worker to a client. The client is fetched using the [get() method](/en-US/docs/Web/API/Clients/get) on [clients](/en-US/docs/Web/API/ServiceWorkerGlobalScope/clients) which is a global in service worker scope.
The code below sends a message from a service worker to a client. The client is fetched using the [get() method](/en-US/docs/Web/API/Clients/get) on [clients](/en-US/docs/Web/API/ServiceWorkerGlobalScope/clients) which is a global in service worker scope.

```js
addEventListener("fetch", (event) => {
Expand Down

0 comments on commit 4244e60

Please sign in to comment.