From 71c3e97e81f790b6b9087edfa7f087f248aba761 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 16 Mar 2017 20:18:16 +0900 Subject: [PATCH] Fix docs lint warnings --- docs/tutorial/multithreading.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/multithreading.md b/docs/tutorial/multithreading.md index 2bf0a5645e5a..b0d298e57e2a 100644 --- a/docs/tutorial/multithreading.md +++ b/docs/tutorial/multithreading.md @@ -44,7 +44,7 @@ loads no native modules after the Web Workers get started. process.dlopen = () => { throw new Error('Load native module is not safe') } -new Worker('script.js') +let worker = new Worker('script.js') ``` [web-workers]: https://developer.mozilla.org/en/docs/Web/API/Web_Workers_API/Using_web_workers