function initTimer() {
  counter = counterStart;
  setState(states.start);
  showCounter(true);
}
// initialize timer and show timer value => state: start
initialize timer and show timer value => state: start
initialize timer and show timer value = > state : start
function initTimer() {
  counter = counterStart;
  setState(states.start);
  showCounter(true);
}
function initTimer ( ) { counter = counterStart ; setState ( states . start ) ; showCounter ( true ) ; }
initialize timer and show timer value => state: start
initialize timer and show timer value = > state : start