chapter 6: functions

Scheduling: setTimeout and setInterval

tasks

  1. Output every second