Opened this issue 8 years ago · 2 comments
Promise.all = function (arr) { return Promise(function (resolve, reject) { 改为: Promise.all = function (arr) { return new Promise(function (resolve, reject) {
https://github.com/hanan198501/promise/blob/master/src/promise.js#L88
缺少new