mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
doc: fix cjs example code for process.arch
PR-URL: https://github.com/nodejs/node/pull/41593 Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Qingyu Deng <i@ayase-lab.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
1 parent
f33e831fe3
commit
10320c2965
1 file changed
+1
-1
+1
-1
@@ -873,7 +873,7 @@ console.log(`This processor architecture is ${arch}`);
|
||||
```cjs
|
||||
const { arch } = require('process');
|
||||
|
||||
console.log(`This processor architecture is ${process.arch}`);
|
||||
console.log(`This processor architecture is ${arch}`);
|
||||
```
|
||||
|
||||
## `process.argv`
|
||||
|
||||
Reference in new issue
Block a user