Jan 4, 2022
Hi Arash,
In the article, it is mentioned that the promise is fulfilled 2 seconds later as expected, although the promise itself is executed immediately.
Line 4 and line 5 are executed almost the same time, but the time in line 4 was a result of 2 seconds earlier.
This result is executed by Node 16.
Thanks for the question!