From 1a25f9639a9668d8ea90022b0f3d3b47d29971b6 Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Sun, 26 Aug 2018 19:02:27 +0300 Subject: doc: remove redundant 'Example:' and similar notes Some nits were also fixed in passing. PR-URL: https://github.com/nodejs/node/pull/22537 Reviewed-By: Trivikram Kamat Reviewed-By: Ruben Bridgewater Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca Reviewed-By: Sakthipriyan Vairamani Reviewed-By: James M Snell --- doc/api/worker_threads.md | 4 ---- 1 file changed, 4 deletions(-) (limited to 'doc/api/worker_threads.md') diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index 025a8c9a3a..b9f28cbfbe 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -20,8 +20,6 @@ Workers, unlike child processes or when using the `cluster` module, can also share memory efficiently by transferring `ArrayBuffer` instances or sharing `SharedArrayBuffer` instances between them. -## Example - ```js const { Worker, isMainThread, parentPort, workerData @@ -281,8 +279,6 @@ See [`port.postMessage()`][] for more information on how messages are passed, and what kind of JavaScript values can be successfully transported through the thread barrier. -For example: - ```js const assert = require('assert'); const { -- cgit v1.2.3