Skip to content

Commit 00eef8d

Browse files
committed
replace isUndefined check with === void 0
void 0 is much cooler, and is also what underscore uses
1 parent 2ffc338 commit 00eef8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/raven.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ function parseDSN(str) {
416416
}
417417

418418
function isUndefined(what) {
419-
return typeof what === 'undefined';
419+
return what === void 0;
420420
}
421421

422422
function isFunction(what) {

0 commit comments

Comments
 (0)