Skip to content

Commit 952623d

Browse files
ManduroBethGriggs
authored andcommitted
doc: fix cjs example code for process.arch
PR-URL: #41593 Reviewed-By: Mestery <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Qingyu Deng <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 076ec47 commit 952623d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ console.log(`This processor architecture is ${arch}`);
875875
```cjs
876876
const { arch } = require('process');
877877

878-
console.log(`This processor architecture is ${process.arch}`);
878+
console.log(`This processor architecture is ${arch}`);
879879
```
880880

881881
## `process.argv`

0 commit comments

Comments
 (0)