diff --git a/doc/api/globals.md b/doc/api/globals.md index ebaaf2a6e0012e..187455eee772ff 100644 --- a/doc/api/globals.md +++ b/doc/api/globals.md @@ -637,6 +637,21 @@ logical processors available to the current Node.js instance. console.log(`This process is running on ${navigator.hardwareConcurrency} logical processors`); ``` +### `navigator.platform` + + + +* {string} + +The `navigator.platform` read-only property returns a string identifying the +platform on which the Node.js instance is running. + +```js +console.log(`This process is running on ${navigator.platform}`); +``` + ### `navigator.userAgent`