News for hackers. Stuff that matters.
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)
Re:ES6: The features I'm most excited about by DCoder on Monday July 06, 2015 @10:37AM (#9839377)
Yes, you're right. My bad.