Commit f16f8346 f16f8346c8e9efaee11bb13b80b9e8091b859e77 by Mickaël Andrieu

Tested an implementation to fix jshint issue

1 parent 0f0bb3cc
...@@ -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;
......