We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 157ef23 commit e91a7a4Copy full SHA for e91a7a4
doc/api/process.md
@@ -1697,9 +1697,9 @@ added: v0.1.19
1697
* `mask` {number}
1698
1699
The `process.umask()` method sets or returns the Node.js process's file mode
1700
-creation mask. Child processes inherit the mask from the parent process. The old
1701
-mask is return if the `mask` argument is given, otherwise returns the current
1702
-mask.
+creation mask. Child processes inherit the mask from the parent process. Invoked
+without an argument, the current mask is returned, otherwise the umask is set to
+the argument value and the previous mask is returned.
1703
1704
```js
1705
const newmask = 0o022;
0 commit comments