Hacker News new | ask | show | jobs
by fenomas 1769 days ago
There's no recursion involved with RAF or looping with setTimeout. In either case the "anim" function doesn't invoke itself, it calls a scheduling function and passes itself as an argument.