Skip to content

Commit

Permalink
doc: fix cjs example code for process.arch
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Manduro authored and BethGriggs committed Jan 24, 2022
1 parent 076ec47 commit 952623d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,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`
Expand Down

0 comments on commit 952623d

Please sign in to comment.