The goal of this post is to explain how to implement closures and memoization in JavaScript. I learn better when I code and if you’re like me, then you will surely enjoy this article. Now before we jump into the topic, let us summarize what we know of functional programming…