发布时间: 2018-07-21 05:45:00
非常的不优雅
function sleep(d){for(var t = Date.now();Date.now() - t <= d;);}
sleep(5000); //当前方法暂停5秒