JS练习_计时器

<script>
    var n =0;
    setInterval(function (){
        console.log(n++);
    },1000);
</script>
posted @ 2021-09-16 14:01  博客zhu虎康  阅读(50)  评论(0编辑  收藏  举报