Replace _.noop with arrow Function

Replace _.noop with () => undefined.

Replace _.noop with arrow Function

Why is this refactoring helpful?

With the introduction of arrow functions in ES2015, you can express _.noop with similarly short standard JavaScript. This refactoring reduces the dependency on Lodash.

Configuration

Related Code Assists

Learn More

Available In