setInterval(function () { requestAnimationFrame(function () { console.log('foo') }) }, 1e3)