Nodeschool promise solutions. See https://github.com/stevekane/promise-it-wont-hurt
- Don't use
promise.then(console.log)
- it only works in NodeJS. Better:promise.then(val => console.log(val))
- Exercise 10 is broken. See stevekane/promise-it-wont-hurt#83
Promise.then().done
is aq
thing and doesn't work with vanilla promises. Usecatch()