News for hackers. Stuff that matters.
Re:ES6: The features I'm most excited about by tracker1 on Monday July 06, 2015 @03:52AM (#9837497)
I don't see the problem...

    function doSomething() {
      return new Promise((resolve,reject)={
        setTimeout(reject,100);
      })
      .catch(() => [])
    }

    doSomething().then((arg) => console.log(arg));
Re:ES6: The features I'm most excited about by seniorsassycat on Monday July 06, 2015 @10:15AM (#9839211)
The problem may have just been the docs. They say .catch and .then can be composed but I didn't see any mention of the behavior.