Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cjbprime
· 11y ago · 0 comments
Not quite :) See my paste above, it returns a new Promise in pending state that
will
return the value in the new then block ("5" here), possibly immediately. (i.e. pending for one event loop tick, then resolved)
Comments
[–]
DCoder
11y ago
Yes, you're right. My bad.