Skip to content

Commit c3321ba

Browse files
Mandurodanielleadams
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 1db96c8 commit c3321ba

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
@@ -873,7 +873,7 @@ console.log(`This processor architecture is ${arch}`);
873873
```cjs
874874
const { arch } = require('process');
875875

876-
console.log(`This processor architecture is ${process.arch}`);
876+
console.log(`This processor architecture is ${arch}`);
877877
```
878878

879879
## `process.argv`

0 commit comments

Comments
 (0)