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 tniessen committed Jan 19, 2022
1 parent da1b59f commit d8f6b38
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 d8f6b38

Please sign in to comment.