function mySetInterval(fn, milliSec,count){
        function interval(){
            if(typeof count==='undefined'||count-->0){
                setTimeout(interval, milliSec);
                try{
                    fn()
                }catch(e){
                    t = 0;
                    throw e.toString();
                }
            }
        }
        setTimeout(interval, milliSec)
    }

相关文章:

  • 2022-12-23
  • 2021-10-28
  • 2021-11-13
  • 2021-06-17
  • 2022-02-06
  • 2022-12-23
  • 2021-06-07
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-06
  • 2022-12-23
  • 2021-11-03
  • 2022-03-05
  • 2022-12-23
相关资源
相似解决方案