Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cowsandmilk
3 months ago
|
parent
|
context
|
favorite
| on:
Porffor: A from-scratch experimental ahead-of-time...
JavaScript doesn’t make the guarantee you are claiming here
jitl
3 months ago
|
next
[–]
Yes, it does. Promise continuations always run in the micro task queue per the standard. I guess if someone mutates the promise prototype it’s not guaranteed, but the spec does guarantee this order
fwip
3 months ago
|
prev
[–]
What do you mean? Does JavaScript allow the `then` of a promise to execute before the contents of the promise?
Consider applying for YC's W25 batch! Applications are open till Nov 12.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: