Fixed: code desc & task desc
This commit is contained in:
parent
39fb7a648b
commit
12d814003e
2 changed files with 4 additions and 4 deletions
|
@ -100,7 +100,7 @@ The `callback` gets one argument -- the time passed from the beginning of the pa
|
|||
|
||||
Usually `callback` runs very soon, unless the CPU is overloaded or the laptop battery is almost discharged, or there's another reason.
|
||||
|
||||
The code below shows the time between first 20 runs for `requestAnimationFrame`. Usually it's 10-20ms:
|
||||
The code below shows the time between first 10 runs for `requestAnimationFrame`. Usually it's 10-20ms:
|
||||
|
||||
```html run height=40 refresh
|
||||
<script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue