摘要:
setTimeout(function() { #1/* Some long block of code... */ #1setTimeout(arguments.callee, 10); #1}, 10); #1setInterval(function() { #2/* Some long block of code... */ #2}, 10); #2#1 Sets up a timeout that reschedules itself#2 Sets up an intervalThe two pieces of code in listing 8.1 may appear to be 阅读全文