How to show real timer clock in pubnub publish and subscribe method

后端 未结 0 502
小蘑菇
小蘑菇 2021-02-12 13:15
        let timer =0;
    function showTime() {
        var d = new Date();
        document.getElementById("demo").innerHTML = d.toLocaleTimeString();
    }
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题