Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cjbprime
on July 6, 2015
|
parent
|
context
|
favorite
| on:
ES6: The features I'm most excited about
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)
DCoder
on July 6, 2015
[–]
Yes, you're right. My bad.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: