Skip to content

Commit

Permalink
doc: fix navigator.hardwareConcurrency example
Browse files Browse the repository at this point in the history
PR-URL: nodejs#50278
Refs: nodejs#47769
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
tniessen authored and alexfernandez committed Nov 1, 2023
1 parent b85201b commit fae8503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ The `navigator.hardwareConcurrency` read-only property returns the number of
logical processors available to the current Node.js instance.

```js
console.log(`This process is running on ${navigator.hardwareConcurrency}`);
console.log(`This process is running on ${navigator.hardwareConcurrency} logical processors`);
```

### `navigator.userAgent`
Expand Down

0 comments on commit fae8503

Please sign in to comment.