Pergunta de entrevista da empresa Cushon

How would you memoize with vanilla JS