Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript Functions
setInterval() with a Callback
Using setInterval() to display the time every second (1000 milliseconds).