Re:ES6: The features I'm most excited about
by cjbprime on Monday July 06, 2015 @10:00AM
(#9839087)
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)
[ Parent
| on HN ]