sleep(5000); function sleep(d){ for(var t = Date.now();Date.now() - t <= d;); } 看到一位大神寫的,簡直牛逼,笑出聲啊。io