We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d851e3 commit b0286acCopy full SHA for b0286ac
doc/api/process.md
@@ -1654,9 +1654,9 @@ added: v0.1.19
1654
* `mask` {number}
1655
1656
The `process.umask()` method sets or returns the Node.js process's file mode
1657
-creation mask. Child processes inherit the mask from the parent process. The old
1658
-mask is return if the `mask` argument is given, otherwise returns the current
1659
-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.
1660
1661
```js
1662
const newmask = 0o022;
0 commit comments