标签:code 中断 return bsp color time UNC date() 暂停
// numberMillis 毫秒 function sleep(numberMillis) { var now = new Date(); var exitTime = now.getTime() + numberMillis; while (true) { now = new Date(); if (now.getTime() > exitTime){ return; } } }
标签:code 中断 return bsp color time UNC date() 暂停
原文地址:https://www.cnblogs.com/whoknows1/p/9685990.html