Convert to Arrow Function

Quickly convert a function to a variable holding an arrow function.

Instead of manually converting a function to a variable holding an arrow function, let WebStorm do that for you: press ⌥⏎ (macOS) / Alt+Enter (Windows/Linux) on the name in the function definition and select the corresponding intention.


Related Resources

Add New Dependencies
WebStorm can help you add a new dependency.
Add console.log Faster
Use Postfix Completion to quickly add console.log.
Convert to async Function
Quickly convert a function that returns a Promise to an async function.