We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 532b64f + c2cbc4c commit 3b3f7c7Copy full SHA for 3b3f7c7
1 file changed
1-js/06-advanced-functions/09-call-apply-decorators/04-throttle/solution.md
@@ -12,11 +12,10 @@ function throttle(func, ms) {
12
savedThis = this;
13
return;
14
}
15
+ isThrottled = true;
16
17
func.apply(this, arguments); // (1)
18
- isThrottled = true;
19
-
20
setTimeout(function() {
21
isThrottled = false; // (3)
22
if (savedArgs) {
0 commit comments