title: Why does the setInterval callback execute only once?
body: <p>I have this counter I made but I want it to run forever, it's really simple, what am I doing wrong here?</p>
  
  <pre><code>function timer() {
    console.log("timer!")
  }
  
  window.setInterval(timer(), 1000)
  </code></pre>