diff options
-rw-r--r-- | ext/node/polyfills/os.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/polyfills/os.ts b/ext/node/polyfills/os.ts index c552b5a0a..3245ad7ab 100644 --- a/ext/node/polyfills/os.ts +++ b/ext/node/polyfills/os.ts @@ -126,7 +126,7 @@ export function arch(): string { (uptime as any)[Symbol.toPrimitive] = (): number => uptime(); export function cpus(): CPUCoreInfo[] { - return Array.from(Array(navigator.hardwareConcurrency)).map(() => { + return Array.from(Array(navigator.hardwareConcurrency), () => { return { model: "", speed: 0, |