From f96a81a818228e0f9ff61714c30167a0f50c8c85 Mon Sep 17 00:00:00 2001 From: Stepan Suvorov Date: Wed, 26 Jun 2019 15:04:06 +0200 Subject: [PATCH] docs: fix example misprints (#31284) PR Close #31284 --- aio/content/guide/web-worker.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/web-worker.md b/aio/content/guide/web-worker.md index 9572d2072c..c7d51d4d0a 100644 --- a/aio/content/guide/web-worker.md +++ b/aio/content/guide/web-worker.md @@ -27,7 +27,7 @@ Running this command will: // Create a new const worker = new Worker('./app.worker', { type: 'module' }); worker.onmessage = ({ data }) => { - console.log('page got message: $\{data\}'); + console.log(`page got message: ${data}`); }; worker.postMessage('hello'); } else {