JSFiddle - React, Tailwind, and code Playground
HTML
<div id="timingInfo"></div>
CSS
#timingInfo {
border: 1px solid #000;
padding: 5px;
width: 400px;
height: 50px;
text-align: center;
}
JavaScript
var cis_current_time = 0;
setInterval(function() {
cis_current_time += 1;
},1);
$("#timingInfo").html(cis_current_time);
setTimeout(function() {
$("#timingInfo").html($("#timingInfo").html() + ', ' + cis_current_time);
},1000);