Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1161b75

Browse files
Update task.md
typo
1 parent a0c0734 commit 1161b75

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
@@ -25,7 +25,7 @@ Visually, it will look like this:
2525
1. For the first mouse movement the decorated variant passes the call to `update`. That's important, the user sees our reaction to their move immediately.
2626
2. Then as the mouse moves on, until `100ms` nothing happens. The decorated variant ignores calls.
2727
3. At the end of `100ms` -- one more `update` happens with the last coordinates.
28-
4. Then, finally, the mouse stops somewhere. The decorated variant waits until `100ms` expire and then runs `update` runs with last coordinates. So, perhaps the most important, the final mouse coordinates are processed.
28+
4. Then, finally, the mouse stops somewhere. The decorated variant waits until `100ms` expire and then runs `update` with last coordinates. So, perhaps the most important, the final mouse coordinates are processed.
2929

3030
A code example:
3131

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /