Sawtaytoes
3/2/2019 - 6:25 AM

Two Args to Promise Then or Use Catch?

Promise
.reject('Promises kinda suck :/')
.then(console.log) // This is never called
.catch(console.warn)

// WARN: Promises kinda suck :/
Promise
.reject('Promises kinda suck :/')
.then(
  console.log, // This is never called
  console.warn,
)

// WARN: Promises kinda suck :/