We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92e05ed commit b0f4f78Copy full SHA for b0f4f78
README.md
@@ -310,3 +310,10 @@ Description: Write a function raceWithTimeout that takes an array of promises an
310
311
Solution Approach: Use Promise.race and a timeout promise.
312
```
313
+
314
+## Challenge 30
315
+```
316
+Description: Implement a throttle function that ensures a given function is not called more than once in a specified time interval.
317
318
+Solution Approach: Use a timestamp to track the last invocation time and prevent calling the function if it's within the throttle interval.
319
0 commit comments