DEV Community

Discussion on: Understand Memoization in 5 Minutes

Collapse
airmind profile image
Alex Ágreda

It's because of closures & lexical scoping, Fikret

developer.mozilla.org/en-US/docs/W...

Collapse
kurtiev profile image
Fikret Kurtiev

Yeah... i didn't notice that "memoize()" called only once.