Page MenuHomePhabricator

Replace anonymous functions with arrow functions
Open, NormalPublic


Replace anonymous local functions with fat arrow functions which improve readability and eliminate the need for this aliasing.

Acceptance criteria

  • All unnamed local functions are replaced with arrows in src, tests, and even webpack.config.js. E.g., () => 'foo'
  • Where an arrow is used, any this alias variable is replaced.
  • No regression to tests or production.