Given code like this:
new AV.Promise(function(resolve, reject) {
return resolve(123);
})
.then(function() {
throw {code: 1};
})
.then(function(){}, function(error) {
console.log('catch them all!');
})
Expected to print catch them all! but got uncaught error.
When inspected the source, found _isPromisesAPlusCompliant = false in promise.js, which seems to break the behavior expected earlier.
Wondering why?