Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jinushaun
on Aug 18, 2015
|
parent
|
context
|
favorite
| on:
Explaining the browser's event loop, tasks, and mi...
Only because both the timeout and promises are pre-resolved. They both immediately "complete" their tasks, so the callbacks are immediately queued. That means you're measuring event loop queuing order, and ignoring execution time.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: