Memoization
Memoization is another browser optimization technique that helps us to increase the speed of the browser. Memoization is a concept from dynamic programming wherein we store the common results in an array instead of calculating it again when we come back from the bottom of the recursive call simply we return the value thereby enhancing the speed of the algorithm by not computing those values again On similar lines instead of calculating the value of every callback what we do is store the results of the same callback in a map/object and then just return the value.
We say callbacks are the same when the passed parameters are also the same.