Skip to content

Commit

Permalink
Remove superfluous + operator
Browse files Browse the repository at this point in the history
  • Loading branch information
mjwwit committed Jul 31, 2019
1 parent a9d93fb commit 534b586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/XMLHttpRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ function XMLHttpRequest(opts) {
* @param status {number} HTTP status code to use rather than the default (0) for XHR errors.
*/
this.handleError = function(error, status) {
this.status = +status || 0;
this.status = status || 0;
this.statusText = error;
this.responseText = error.stack;
errorFlag = true;
Expand Down

0 comments on commit 534b586

Please sign in to comment.