title: Timer: setTimeout and function call
body: <pre><code>function tick() {
      seconds_lapsed++; // Break point.
  }
  
  function countdown() {   
  
      while(!stopped || !is_paused()){
          setTimeout(tick, 1000); // 1 second.
          show_counter();
      }
  }
  </code></pre>
  <p>Could you tell me why the interpreter doesn't stop at the breakpoint? The while loop works, hava a look at the screenshot.</p>
  <p><a href="https://i.stack.imgur.com/FJiit.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FJiit.png" alt="enter image description here" /></a></p>