diff --git a/lodash.js b/lodash.js index 218bf348a..99997c9ab 100644 --- a/lodash.js +++ b/lodash.js @@ -5249,8 +5249,9 @@ } var type = typeof index; if (type == 'number' - ? (isArrayLike(object) && isIndex(index, object.length)) - : (type == 'string' && index in object)) { + ? (isArrayLike(object) && isIndex(index, object.length)) + : (type == 'string' && index in object) + ) { return eq(object[index], value); } return false;