loading...

Discussion on: Memoization in a Nutshell

Collapse
asaaki profile image
Christoph Grabo

And for the brain version:

if (brain[n] === undefined) {

Or undefined will be the only result.