Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b0c60b5

Browse files
updates src/components/functional-programming/memoization/exercise.js
1 parent eee3b34 commit b0c60b5

File tree

1 file changed

+4
-2
lines changed
  • src/components/functional-programming/memoization

1 file changed

+4
-2
lines changed

‎src/components/functional-programming/memoization/exercise.js‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ You should see on the console the console.log() for this exercise.
66
77
1. Pair up and explain to each other how the memoize function works with the doEasyWork function.
88
9-
2. Explain to each other how the memoize function works with doHardWork.
9+
2. Where is the closure?
10+
11+
3. Explain to each other how the memoize function works with doHardWork.
1012
Does the memoize function work differently?
1113
12-
3. Bonus, refactor the memoize function so it can memoize functions with any number of arguments-
14+
4. Bonus, refactor the memoize function so it can memoize functions with any number of arguments-
1315
You can use the function doAnyWork to test your refactored memoize function
1416
*/
1517

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /