From ba2d3f77047b7b38c45dea93263559e4abbd1d3f Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 15 Feb 2016 16:36:20 -0800 Subject: [PATCH] Use `!=` instead of `!==` when value is guaranteed to be a string. --- lodash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index 24f0e6bfd..28681263a 100644 --- a/lodash.js +++ b/lodash.js @@ -5171,7 +5171,7 @@ function isKeyable(value) { var type = typeof value; return type == 'number' || type == 'boolean' || - (type == 'string' && value !== '__proto__') || value == null; + (type == 'string' && value != '__proto__') || value == null; } /**