简单的通过JS在控制输入倒计时

    技术2022-07-11  85

    var countDown = function(times){ if(!times||isNaN(parseInt(times)))return; var args = arguments; var self = this; console.log(times); setTimeout(function(){args.callee.call(self,--times)},1000); } countDown(100)
    Processed: 0.030, SQL: 9