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 <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>
  • Loading branch information
Manduro authored and danielleadams committed Mar 14, 2022
1 parent f33e831 commit 10320c2
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 @@ -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`
Expand Down

0 comments on commit 10320c2

Please sign in to comment.