-
-
Notifications
You must be signed in to change notification settings - Fork 32.9k
Closed
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.processIssues and PRs related to the process subsystem.Issues and PRs related to the process subsystem.questionIssues that look for answers.Issues that look for answers.
Description
- Subsystem: doc
The documentation for process.umask
reads:
The
process.umask()
method sets or returns the Node.js process's file mode creation mask. Child processes inherit the mask from the parent process. The old mask is return if the mask argument is given, otherwise returns the current mask.
I have emphasized the last sentence since that is the one that doesn't make any sense. Is it saying var oldmask = process.umask()
or var oldmask = process.umask(0)
?
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.processIssues and PRs related to the process subsystem.Issues and PRs related to the process subsystem.questionIssues that look for answers.Issues that look for answers.