Browse Source

Fix docs lint warnings

Cheng Zhao 8 years ago
parent
commit
71c3e97e81
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/tutorial/multithreading.md

+ 1 - 1
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