We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9d93fb commit 534b586Copy full SHA for 534b586
lib/XMLHttpRequest.js
@@ -559,7 +559,7 @@ function XMLHttpRequest(opts) {
559
* @param status {number} HTTP status code to use rather than the default (0) for XHR errors.
560
*/
561
this.handleError = function(error, status) {
562
- this.status = +status || 0;
+ this.status = status || 0;
563
this.statusText = error;
564
this.responseText = error.stack;
565
errorFlag = true;
0 commit comments