We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8ac2a4 commit 6ae2b37Copy full SHA for 6ae2b37
1 file changed
14_event.txt
@@ -712,10 +712,10 @@ if (Math.random() < .5) { // 50% chance
712
}
713
----
714
715
-The `clearAnimationFrame` work in the same way as
+The `cancelAnimationFrame` function works in the same way as
716
`clearTimeout`—calling it on a value returned by
717
-`requestAnimationFrame` will cancel that frame (assuming it wasn't
718
-already called).
+`requestAnimationFrame` will cancel that frame (assuming it hasn't
+already been called).
719
720
A similar set of functions, `setInterval` and `clearInterval` are used
721
to set timers that should repeat every X milliseconds.
0 commit comments