News for hackers. Stuff that matters.
Re:ES6: The features I'm most excited about by loganfsmyth on Monday July 06, 2015 @02:01AM (#9837061)
Both are useful, but I'd hesitate to call it better. What makes you say it is better?
Re:ES6: The features I'm most excited about by Bahamut on Monday July 06, 2015 @03:18AM (#9837348)
It makes explicit that the intention that a promise should be rejected, as opposed to a throw where one might reasonably expect an exception of some sort.