You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a) the promise Object is immediately in pending state after instance creation (also Promise A+ says this)
b) the executor is executed immediately during promise object construction (Promise A+ spec did not say anything about when executor is to be executed)
The text was updated successfully, but these errors were encountered:
Hi
A promising guide I think!
I found a little mistake in https://github.com/mbeaudru/modern-js-cheatsheet#promises. You say:
a) "So it doesn't have a current state."
b) "When called, the promise body runs".
But, according to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
a) the promise Object is immediately in pending state after instance creation (also Promise A+ says this)
b) the executor is executed immediately during promise object construction (Promise A+ spec did not say anything about when executor is to be executed)
The text was updated successfully, but these errors were encountered: