Skip to content

Commit bd344f1

Browse files
authored
Update 1-js/06-advanced-functions/09-call-apply-decorators/03-debounce/_js.view/test.js
1 parent b758d8d commit bd344f1

File tree

1 file changed

+1
-1
lines changed
  • 1-js/06-advanced-functions/09-call-apply-decorators/03-debounce/_js.view

1 file changed

+1
-1
lines changed

1-js/06-advanced-functions/09-call-apply-decorators/03-debounce/_js.view/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe('debounce', function () {
2222
const debounced = debounce(f, 1000);
2323

2424
debounced('a');
25-
setTimeout(() => debounced('b'), 200); // проигнорирована (есть следующий вызов раньше чем 1000 мс)
25+
setTimeout(() => debounced('b'), 200); // проигнорирована
2626
setTimeout(() => debounced('c'), 500); // вызвана (последний вызов)
2727
this.clock.tick(1000);
2828

0 commit comments

Comments
 (0)