JSFiddle - React, Tailwind, and code Playground JavaScript function f() { let i = 0; setInterval(() => { i++ console.log(i) }, 1000) } f()