You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So if "reason" is undefined or something that can't have a property defined like a string literal, then it throws and ignores it.
This doesn't crash, but if you're using "pause on all exceptions" in Chrome, it's annoying. Also, then the "isAsync" property won't exist... does that cause problems later?
If you like the existing behavior, then the docs should change to say that "reason" needs to be an object.
The text was updated successfully, but these errors were encountered:
The docs say "Promise.reject(dynamic reason) -> Promise" but the code does this:
So if "reason" is undefined or something that can't have a property defined like a string literal, then it throws and ignores it.
This doesn't crash, but if you're using "pause on all exceptions" in Chrome, it's annoying. Also, then the "isAsync" property won't exist... does that cause problems later?
If you like the existing behavior, then the docs should change to say that "reason" needs to be an object.
The text was updated successfully, but these errors were encountered: