Refactor fs.open parameter handling
Improvements: * Removes an unnecessary variable * Avoids having two variables with the same name * Avoids re-declaring an existing parameter * Removes an unnecessary ternary operator * Avoid an inline short-circuit expression for greater clarity.
parent
aabdd5d0
Please register or sign in to comment