mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
Cleanup _.isEqual and make _.where of an empty array match all arrays similar to empty objects matching all objects.
This commit is contained in:
@@ -10663,7 +10663,7 @@
|
||||
deepEqual(actual, [collection[1]]);
|
||||
|
||||
actual = _.where(collection, { 'a': [] });
|
||||
deepEqual(actual, []);
|
||||
deepEqual(actual, collection);
|
||||
|
||||
actual = _.where(collection, { 'a': ['b', 'd'] });
|
||||
deepEqual(actual, []);
|
||||
|
||||
Reference in New Issue
Block a user