Skip to content

fs: define constants with const

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/fs-consts into v1.x

Define fs constants using const. In the tests that I've done, it appears that v8 is able to optimize const. Suggesting this as an alternative to #507. If this is acceptable, I'd be interested in updating other constants throughout the JS codebase.

Merge request reports

Loading