Multiple ChoiceHard 30s
Closures for Memoization
Choose the best answer for: memoization pattern
Options
- 1Memoization clears closures after each call to free memory
- 2Memoization requires a class to store the cached return values
- 3Memoization uses setTimeout to defer and cache the results
- 4Closures cache results in a variable the inner function can access
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.