Adobe interview question

- Create a javascript Reduce PolyFill and use it - Memoize a function execution.