title: setImmediate confusing documentation phrasing
body: <p>From I've read <code>setImmediate</code> adds callback to the end for event loop, while <code>process.nextTick</code> adds a callback at the head. But the <a href="https://nodejs.org/api/timers.html#timers_setimmediate_callback_args" rel="nofollow noreferrer">official docs</a> says the following about <code>setImmediate</code>:</p>
  
  <blockquote>
    <p>Schedules the "immediate" execution of the callback after I/O events'
    callbacks and <strong>before timers</strong> created using setTimeout() and
    setInterval() are triggered.</p>
  </blockquote>
  
  <p>Yet this example proves that the <code>setImmediate</code> adds a callback to the end of the loop regardless of the timers added using <code>setTimeout</code> or <code>setInterval</code>:</p>
  
  <pre><code>function test() {
      setTimeout(function () {
          console.log('settimeout');
      }, 5000);
  
      const start = Date.now();
      while (Date.now() - start &lt; 6000) {
          // blocking
      }
  
      setImmediate(function () {
          console.log('setimmediate');
      });
  
      process.nextTick(function () {
          console.log('nextTick');
      });
  }
  
  test();
  </code></pre>
  
  <p>Outputs:</p>
  
  <pre><code>nextTick
  settimeout
  setimmediate
  </code></pre>
  
  <p>So is documentation wrong or I'm not understanding it correctly?</p>