




Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Store a variable for currArguments.
If no timeout is in progress, immediately execute the function and create a timeout. If a timeout is in progress, set the currArguments to the new arguments.
When the timeout is done: if currArguments is null, do nothing. Otherwise, execute the function with currArguments and create another timeout.