Add or remove braces from arrow functions Use this refactoring in JavaScript and TypeScript to quickly add braces to an arrow function or remove them from an arrow function that consists of a single return statement.