medium
1/10
Step Explanation
Understand what is happening first
Execution Visualizer
Watch memory, stack, queues, and output
Execution Visualizer
live
JavaScript stores the debounce function in memory. It will be used to create a delayed version of another function.
Call Stack
1 frame
TOP ↑
▲global()
frame 0↓ BOTTOM
Global Context
Memory
1 variableHeap Memory
debouncefn→ refnew
"function"Console Output
awaiting output...
varfnobjarrclosure
Code Preview
Active line 1
Code
line 1Tap Expand to view full code
1/10
← → Space R