Commit ed6f391a ed6f391a4ef2d380c428c48ed2c1046880d100d0 by Mickaël Andrieu

Allowed triple equality for betterInstanceOf()

1 parent 74fe7e82
......@@ -80,7 +80,7 @@ exports.betterTypeOf = betterTypeOf;
*/
function betterInstanceOf(input, constructor) {
"use strict";
/*jshint eqnull:true */
/*jshint eqnull:true, eqeqeq:false */
while (input != null) {
if (input == constructor.prototype) {
return true;
......