Skip to content

Commit

Permalink
Fix time calc on cancelAnimationFrame
Browse files Browse the repository at this point in the history
  • Loading branch information
james-rae authored Sep 15, 2024
1 parent 32cef32 commit e40471d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/api/window/cancelanimationframe/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ None ({{jsxref("undefined")}}).
## Examples

```js
const start = Date.now();
const start = document.timeline.currentTime;

let myReq;

Expand Down

0 comments on commit e40471d

Please sign in to comment.