Skip to content

Commit

Permalink
doc: fix navigator.hardwareConcurrency example
Browse files Browse the repository at this point in the history
PR-URL: #50278
Refs: #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 committed Oct 23, 2023
1 parent 19216ab commit fa514c9
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 fa514c9

Please sign in to comment.