Using the Visual representation from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/EventLoop:
Would one of the differences between setImmediate() and nextTick() be that setImmediate() places the code in the stack(current running code) versus nextTick() places the code in the next message(queue)?

 
     
    