Skip to content

📚 13.实现一个精准的计时器

💻 代码实现

typescript
// 参考:https://juejin.cn/post/7128231937457520671    
// 参考:https://juejin.cn/post/7029252274299879454
// ps: 核心通过requestAnimationFram来手动进行校验

Released under the MIT License.