> front-end
Created by: Kitman Yiu
Updated at: 1 day ago
- Definition: Composition in programming refers to combining two or more functions to create a new function.
- Benefits: Modularity, Readability, Maintainability, Testability
- Examples: const multiplyByTwoAndAddThree = (x) => addThree(multiplyByTwo(x));