http://ejohn.org/blog/how-javascript-timers-work/ 转载于:https://www.cnblogs.com/linsanshu/p/5652487.html