@@ -583,6 +583,32 @@ The `MessagePort` class. See [`MessagePort`][] for more details.
583583
584584This variable may appear to be global but is not. See [ ` module ` ] [ ] .
585585
586+ ## ` navigator `
587+
588+ <!-- YAML
589+ added: REPLACEME
590+ -->
591+
592+ > Stability: 1 - Experimental
593+ >
594+ > An implementation of the [ Navigator API] [ ] . Similar to [ ` window.navigator ` ] [ ]
595+ > in browsers.
596+
597+ ### ` navigator.hardwareConcurrency `
598+
599+ <!-- YAML
600+ added: REPLACEME
601+ -->
602+
603+ * {number}
604+
605+ The navigator.hardwareConcurrency read-only property returns the number of
606+ logical processors available to run threads on the user's computer.
607+
608+ ``` js
609+ console .log (` This process is running on ${ navigator .hardwareConcurrency } ` );
610+ ```
611+
586612## ` PerformanceEntry `
587613
588614<!-- YAML
@@ -998,6 +1024,7 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
9981024
9991025[ CommonJS module ] : modules.md
10001026[ ECMAScript module ] : esm.md
1027+ [ Navigator API ] : https://html.spec.whatwg.org/multipage/system-state.html#the-navigator-object
10011028[ Web Crypto API ] : webcrypto.md
10021029[ `--no-experimental-fetch` ] : cli.md#--no-experimental-fetch
10031030[ `--no-experimental-global-customevent` ] : cli.md#--no-experimental-global-customevent
@@ -1057,6 +1084,7 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
10571084[ `setInterval` ] : timers.md#setintervalcallback-delay-args
10581085[ `setTimeout` ] : timers.md#settimeoutcallback-delay-args
10591086[ `structuredClone` ] : https://developer.mozilla.org/en-US/docs/Web/API/structuredClone
1087+ [ `window.navigator` ] : https://developer.mozilla.org/en-US/docs/Web/API/Window/navigator
10601088[ buffer section ] : buffer.md
10611089[ built-in objects ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects
10621090[ module system documentation ] : modules.md
0 commit comments