DEV Community

Discussion on: Memoization in JavaScript

Collapse
 
bhagatparwinder profile image
Parwinder 👨🏻‍💻

Thanks for the feedback @aminnairi . Excellent writeup and valid points. Instead of updating my original post with your recommendation, I am going to add a note to it. Readers can see how I approached it and how you made it better (and the reasoning behind it)

In the case of multiple memorization functions I do however prefer @shadowtime2000 implementation (but that is just a preference based on readability)