Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: indicate the format of process.version
  • Loading branch information
dguo committed Aug 22, 2020
commit fd97f8593e33aaa9af01edc10ac76f8ea9ae18f9
3 changes: 2 additions & 1 deletion doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -2498,7 +2498,8 @@ added: v0.1.3

* {string}

The `process.version` property returns the Node.js version string.
The `process.version` property returns the Node.js version string in the form of
`v<major>.<minor>.<patch>`.

```js
console.log(`Version: ${process.version}`);
Expand Down