digitalClock This little project shows how create a digital clock and update it every second. Main functions It calls the browser's window function setInterval, to periodically execute, every 1000 ms, the function updateClock.