Skip to content

Commit aac4d48

Browse files
authoredApr 14, 2022
Merge pull request #2933 from Rnbsov/patch-19
fix units
2 parents a5e34ba + ed6bf65 commit aac4d48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎7-animation/3-js-animation/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ The returned value `requestId` can be used to cancel the call:
9696
cancelAnimationFrame(requestId);
9797
```
9898

99-
The `callback` gets one argument -- the time passed from the beginning of the page load in microseconds. This time can also be obtained by calling [performance.now()](mdn:api/Performance/now).
99+
The `callback` gets one argument -- the time passed from the beginning of the page load in milliseconds. This time can also be obtained by calling [performance.now()](mdn:api/Performance/now).
100100

101101
Usually `callback` runs very soon, unless the CPU is overloaded or the laptop battery is almost discharged, or there's another reason.
102102

0 commit comments

Comments
 (0)
Failed to load comments.