Javscript closure questions
- by Shuchun Yang
While I was reading the book Javascript: The Good Parts. I can not understand the piece of code bellow:
We can generalize this by making a
function that helps us make memoized
functions. The memoizer function will
take an initial memo array and the
fundamental function. It returns a
shell function that manages the memo
store and…