title: Change title on html with setInterval
body: <p>I'm trying to set an effect to the title of my page, that it appear letter by letter but I can't understand why does <code>setInterval()</code> function didn't work.</p>
  
  <p>Here is the code I tried.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  var namee=document.title
  var i=0
  function changeTit(){
      document.title=namee.substring(0,i)
      i++
      if(i&gt;namee.length)
          i=0
  }
  setInterval(changeTit(),1000)
  &lt;/script&gt;
  </code></pre>
  
  <p>This is running the <code>changeTit()</code> function only one time, i also tried to call it in a button but one letter appear every time I hit the button and I want it to be changing all the time.
  This code is in the head section but i also tryed in several different parts of the document, please tell if this gotta be in some specific part, I also tried separating in different sections.</p>