number requestAnimationFrame(function callback)
在下一次重绘之前,执行回调函数的动画帧请求
参数
function callback: 执行的回调函数
返回值:
number: 返回请求 ID