JSFiddle - React, Tailwind, and code Playground

JavaScript

setInterval(function() {
  console.log('do something');
}, 2000);