79816914

Date: 2025-11-11 16:52:44
Score: 2
Natty:
Report link

There would be a difference in output here between using commonJS versus using ESM in your project. ES modules are promise-based so, promise microtask queue is exhausted first in this case. Whereas commonJS has the traditional Node.js execution environment and nextTick takes priority here as mentioned in the Node.js docs.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Raj