mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
doc: indicate the format of process.version
PR-URL: https://github.com/nodejs/node/pull/34872 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
1 parent
fff1e7f86c
commit
dae93ca0cb
1 file changed
+2
-1
+2
-1
@@ -2476,7 +2476,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}`);
|
||||
|
||||
Reference in new issue
Block a user