Skip to content

fs: use arrow functions for lexical `this`

Rodrigo Muino Tomonari requested to merge github/fork/originalfoo/fs-7414 into master
Checklist
  • make -j4 test (UNIX) or vcbuild test nosign (Windows) passes
  • the commit message follows commit guidelines
Affected core subsystem(s)

fs

( specifically: lib/fs.js )

Description of change

Use arrow functions to replace multiple var self = this; ... function() { self.whatever() } pattern.

See #7414 (closed) for more details.

Merge request reports

Loading