Skip to content

Commit 534b586

Browse files
committed
Remove superfluous + operator
1 parent a9d93fb commit 534b586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/XMLHttpRequest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ function XMLHttpRequest(opts) {
559559
* @param status {number} HTTP status code to use rather than the default (0) for XHR errors.
560560
*/
561561
this.handleError = function(error, status) {
562-
this.status = +status || 0;
562+
this.status = status || 0;
563563
this.statusText = error;
564564
this.responseText = error.stack;
565565
errorFlag = true;

0 commit comments

Comments
 (0)