summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHarendra Singh <harendra@getpostman.com>2019-11-06 14:36:25 +0530
committerAnna Henningsen <anna@addaleax.net>2019-11-30 18:07:41 +0100
commitbd072113c666f7d34c0dee0678177bda216cc79b (patch)
treeb6d33c83401162dd0372ac36b4cb4ba6e352b961 /doc
parent09b1228c3a2723c6ecb768b40a507688015a478f (diff)
downloadandroid-node-v8-bd072113c666f7d34c0dee0678177bda216cc79b.tar.gz
android-node-v8-bd072113c666f7d34c0dee0678177bda216cc79b.tar.bz2
android-node-v8-bd072113c666f7d34c0dee0678177bda216cc79b.zip
doc: fixed a typo in process.md
If the process was not spawned with an IPC channel, `process.send` will be undefined and calling it as `process.send()` would throw error PR-URL: https://github.com/nodejs/node/pull/30277 Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/process.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/process.md b/doc/api/process.md
index a9b5c4af09..217fbb66bc 100644
--- a/doc/api/process.md
+++ b/doc/api/process.md
@@ -1957,7 +1957,7 @@ If Node.js is spawned with an IPC channel, the `process.send()` method can be
used to send messages to the parent process. Messages will be received as a
[`'message'`][] event on the parent's [`ChildProcess`][] object.
-If Node.js was not spawned with an IPC channel, `process.send()` will be
+If Node.js was not spawned with an IPC channel, `process.send` will be
`undefined`.
The message goes through serialization and parsing. The resulting message might