stefanpenner / es6-promise

A polyfill for ES6-style Promises
MIT License
7.29k stars 594 forks source link

"constructor is undefined" errors #186

Closed anthonygreen closed 8 years ago

anthonygreen commented 8 years ago

I get 'constructor is undefined' errors when chaining Promises with older versions of IE

var promise = new Promise(function(resolve, reject) {
…
}).then(function() {
   return new Promise(function(resolve, reject) {
    …
   });
});
stefanpenner commented 8 years ago

Which ie and which version of this library. Can you also provide a reproduction, maybe a jsbin?

anthonygreen commented 8 years ago

I've tried the tests with an alternative Promises library https://www.promisejs.org/ and this one does work

stefanpenner commented 8 years ago

I'm pretty sure this one also works ;)