mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 02:17:50 +00:00
_.isEqual: Issue #355.
This commit is contained in:
@@ -741,7 +741,7 @@
|
|||||||
// Ensure that both objects contain the same number of properties.
|
// Ensure that both objects contain the same number of properties.
|
||||||
if (result) {
|
if (result) {
|
||||||
for (key in b) {
|
for (key in b) {
|
||||||
if (hasOwnProperty.call(b, key) && !size--) break;
|
if (hasOwnProperty.call(b, key) && !(size--)) break;
|
||||||
}
|
}
|
||||||
result = !size;
|
result = !size;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user