Closed
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)
?