js循环内0.5s停止时间:2023-03-08 17:56:07 var time_begin = new Date().getTime(); while(true){ if(new Date().getTime()-time_begin > 500) break; }