Optimize your JS code with Memoization and Lazy Eval

There are many ways to optimize your code. What if you could avoid calling unnecessary functions altogether? Being that JavaScript is a functional programming language, there are a couple of techniques we can use to reduce the execution time of your programs: Lazy Evaluation and Memoization