Skip to content

No error-throw promise

Latest
Compare
Choose a tag to compare
@xiaojingzhao xiaojingzhao released this 28 Dec 17:51
· 12 commits to master since this release

In chrome console:

p = new Promise((resolve, reject) => reject(33)) // Uncaught (in promise) 33

In thiis repo:

p = new PromiseJ((resolve, reject) => reject(33)) //  promiseJ<rejected:33>