WebStorm Tips & Tricks #3: Refactor arrow, anonymous, and named functions automatically!

preview_player
Показать описание
With Alt + Enter, you can automatically convert arrow functions to anonymous functions, named functions!

This video starts with an arrow function, automatically adds braces, convert to anonymous function, and then named function, and back to the same arrow function - all with just Alt + Enter! Try it out NOW!
Рекомендации по теме