You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the final task asks to write a memoize function, that only memoizes the last result.
However, the tests don't enforce that final limitation. Technically memoizing all calls is fine if you look at the grammar pedantically (it's undefined), but the many many ways to build a cache make it harder to write automated analyzers for, and we really want to force people to use let (or var) here.
Activity
Add a test to check that only the last result is remembered