Skip to content

Commit 23fb044

Browse files
authored
Update task.md
1 parent 445bda3 commit 23fb044

File tree

1 file changed

+1
-1
lines changed
  • 1-js/06-advanced-functions/09-call-apply-decorators/04-throttle

1 file changed

+1
-1
lines changed

1-js/06-advanced-functions/09-call-apply-decorators/04-throttle/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ importance: 5
66

77
Create a "throttling" decorator `throttle(f, ms)` -- that returns a wrapper.
88

9-
When it's called multiple times, it passes the call to `f` at maximum once per `ms` milliseconds.
9+
When it's called multiple times, it passes the call to `f` at maximum once per `ms` milliseconds.
1010

1111
The difference with debounce is that it's completely different decorator:
1212
- `debounce` runs the function once after the "cooldown" period. Good for processing the final result.

0 commit comments

Comments
 (0)