Tested an implementation to fix jshint issue
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -80,7 +80,7 @@ exports.betterTypeOf = betterTypeOf; | ... | @@ -80,7 +80,7 @@ exports.betterTypeOf = betterTypeOf; |
80 | */ | 80 | */ |
81 | function betterInstanceOf(input, constructor) { | 81 | function betterInstanceOf(input, constructor) { |
82 | "use strict"; | 82 | "use strict"; |
83 | /*jshint eqnull:true, eqeqeq:false */ | 83 | /*jshint eqnull:true, eqeqeq:false, undef:false */ |
84 | while (input != null) { | 84 | while (input != null) { |
85 | if (input == constructor.prototype) { | 85 | if (input == constructor.prototype) { |
86 | return true; | 86 | return true; | ... | ... |
-
Please register or sign in to post a comment