Skip to content

Commit 6637a0c

Browse files
committed
doc: improve process & os docs to give descriptive information about the platform property
1 parent 5aa4010 commit 6637a0c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

doc/api/os.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ added: v0.5.0
301301

302302
* Returns: {string}
303303

304-
Returns a string identifying the operating system platform. The value is set
304+
Returns a string identifying the operating system platform for which the Node.js binary was compiled. The value is set
305305
at compile time. Possible values are `'aix'`, `'darwin'`, `'freebsd'`,
306306
`'linux'`, `'openbsd'`, `'sunos'`, and `'win32'`.
307307

doc/api/process.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -2612,8 +2612,7 @@ added: v0.1.16
26122612
26132613
* {string}
26142614
2615-
The `process.platform` property returns a string identifying the operating
2616-
system platform on which the Node.js process is running.
2615+
The `process.platform` property returns a string identifying the operating system platform for which the Node.js binary was compiled.
26172616
26182617
Currently possible values are:
26192618

0 commit comments

Comments
 (0)