Commit 841caef9 authored by jy95's avatar jy95 Committed by Rich Trott
Browse files

test: use ES2017 syntax in test-fs-open-*

Update test-fs-open-flags to take advantage of destructuring and default
values.

Update test-fs-open-mode-mask to use a ternary to make use of a
constant possible.

PR-URL: https://github.com/nodejs/node/pull/23031


Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 9e12409e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment