Skip to content

Commit b0f4f78

Browse files
Update README.md
1 parent 92e05ed commit b0f4f78

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,3 +310,10 @@ Description: Write a function raceWithTimeout that takes an array of promises an
310310
311311
Solution Approach: Use Promise.race and a timeout promise.
312312
```
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

Comments
 (0)