#JavaScript
What is memoization ?
Memoization is a technique used in computer programming to optimize the performance of a function by caching its results based on its input parameters.
The goal is to avoid redundant computations for the same set of inputs.
on the picture, a simple example of adding function with memoization in JavaScript .
@Diyorbekk_dev
Post #755
118


- 🆒 2