summaryrefslogtreecommitdiff
path: root/doc/api/process.md
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-09 15:25:04 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-09 17:04:48 +0300
commitdff214153f1b48615e3e4f134b252fbbe363c36f (patch)
treea8cb25513bfdfeb90f62e5d43885eb4d51b2ce85 /doc/api/process.md
parent321c178faa51d1f9e7c8ac60790aeca187a50e1f (diff)
downloadandroid-node-v8-dff214153f1b48615e3e4f134b252fbbe363c36f.tar.gz
android-node-v8-dff214153f1b48615e3e4f134b252fbbe363c36f.tar.bz2
android-node-v8-dff214153f1b48615e3e4f134b252fbbe363c36f.zip
doc: specify definite Array types
Replace `{Array}` with `{type[]}`. PR-URL: https://github.com/nodejs/node/pull/19895 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api/process.md')
-rw-r--r--doc/api/process.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/api/process.md b/doc/api/process.md
index bff5e376ec..e80e187cc1 100644
--- a/doc/api/process.md
+++ b/doc/api/process.md
@@ -432,7 +432,7 @@ console.log(`This processor architecture is ${process.arch}`);
added: v0.1.27
-->
-* {Array}
+* {string[]}
The `process.argv` property returns an array containing the command line
arguments passed when the Node.js process was launched. The first element will
@@ -923,7 +923,7 @@ console.log(process.env.test);
added: v0.7.7
-->
-* {Array}
+* {string[]}
The `process.execArgv` property returns the set of Node.js-specific command-line
options passed when the Node.js process was launched. These options do not
@@ -1106,7 +1106,7 @@ Android).
added: v0.9.4
-->
-* Returns: {Array}
+* Returns: {integer[]}
The `process.getgroups()` method returns an array with the supplementary group
IDs. POSIX leaves it unspecified if the effective group ID is included but
@@ -1149,8 +1149,8 @@ Indicates whether a callback has been set using
added: v0.7.6
-->
-* `time` {Array} The result of a previous call to `process.hrtime()`
-* Returns: {Array}
+* `time` {integer[]} The result of a previous call to `process.hrtime()`
+* Returns: {integer[]}
The `process.hrtime()` method returns the current high-resolution real time
in a `[seconds, nanoseconds]` tuple Array, where `nanoseconds` is the
@@ -1633,7 +1633,7 @@ Android).
added: v0.9.4
-->
-* `groups` {Array}
+* `groups` {integer[]}
The `process.setgroups()` method sets the supplementary group IDs for the
Node.js process. This is a privileged operation that requires the Node.js