Browse Source

doc: update possible values for process.platform

v0.9.1-release
Jeroen Janssen 13 years ago
committed by Ben Noordhuis
parent
commit
66e12dbd69
  1. 3
      doc/api/process.markdown

3
doc/api/process.markdown

@ -352,7 +352,8 @@ What processor architecture you're running on: `'arm'`, `'ia32'`, or `'x64'`.
## process.platform ## process.platform
What platform you're running on. `'linux2'`, `'darwin'`, etc. What platform you're running on:
`'darwin'`, `'freebsd'`, `'linux'`, `'solaris'` or `'win32'`
console.log('This platform is ' + process.platform); console.log('This platform is ' + process.platform);

Loading…
Cancel
Save