You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: 7-animation/3-js-animation/article.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ The returned value `requestId` can be used to cancel the call:
96
96
cancelAnimationFrame(requestId);
97
97
```
98
98
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).
100
100
101
101
Usually `callback` runs very soon, unless the CPU is overloaded or the laptop battery is almost discharged, or there's another reason.
0 commit comments