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>
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
@@ -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`

0 comments on commit 952623d

Please sign in to comment.