A LITTLE FRICTION. A LOT OF LEARNING.
Put your understanding to work.
Debug real practice code, compare the output, and work through a hint when you need one.
IntermediateRevisit Closures
Keep the remembered count
Increment the retained binding on each call instead of assigning the same value every time.
Opening editor…
LIVE PREVIEW
Console 0
Your console output appears here.
Saved on this deviceJavaScript · ES2022
EXPECTED CONSOLE OUTPUT
1 2
Hints 0/2
Use all hints or make 3 failed runs (0/3).