DEV Community

JS Refactoring Combos Series' Articles

Back to Lars Grammel's Series
JS Refactoring Combo: Replace Nested If-Else with Guards
Cover image for JS Refactoring Combo: Replace Nested If-Else with Guards

JS Refactoring Combo: Replace Nested If-Else with Guards

76
Comments 18
2 min read
JS Refactoring Combo: Simplify If-Else Variable Initialization
Cover image for JS Refactoring Combo: Simplify If-Else Variable Initialization

JS Refactoring Combo: Simplify If-Else Variable Initialization

10
Comments 1
1 min read
JS Refactoring Combo: Simplify Duplicated Function Call Inside If-Else Statement
Cover image for JS Refactoring Combo: Simplify Duplicated Function Call Inside If-Else Statement

JS Refactoring Combo: Simplify Duplicated Function Call Inside If-Else Statement

20
Comments 9
1 min read
JS Refactoring Combo: Extract Array Constant From String Comparison Chain
Cover image for JS Refactoring Combo: Extract Array Constant From String Comparison Chain

JS Refactoring Combo: Extract Array Constant From String Comparison Chain

8
Comments
1 min read
JS Refactoring Combo: Inline Function as Method
Cover image for JS Refactoring Combo: Inline Function as Method

JS Refactoring Combo: Inline Function as Method

6
Comments 1
1 min read
JS Refactoring Combo: Introduce Object Destructuring
Cover image for JS Refactoring Combo: Introduce Object Destructuring

JS Refactoring Combo: Introduce Object Destructuring

13
Comments 2
1 min read