Skip to content

Commit

Permalink
doc: improve process & os docs to give descriptive information about …
Browse files Browse the repository at this point in the history
…the platform property
  • Loading branch information
twitharshil committed Jan 22, 2022
1 parent 5aa4010 commit 6637a0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/api/os.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ added: v0.5.0

* Returns: {string}

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

Expand Down
3 changes: 1 addition & 2 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -2612,8 +2612,7 @@ added: v0.1.16
* {string}
The `process.platform` property returns a string identifying the operating
system platform on which the Node.js process is running.
The `process.platform` property returns a string identifying the operating system platform for which the Node.js binary was compiled.
Currently possible values are:
Expand Down

0 comments on commit 6637a0c

Please sign in to comment.