Browse Source

Removed unreachable break statements

master
Muthu Kumar 7 years ago
parent
commit
76630538fb
  1. 2
      isEq.js

2
isEq.js

@ -77,11 +77,9 @@ const isEq = (item1, item2, compareKeys) => {
(Array.isArray(item1[Key]) && Array.isArray(item2[Key]))) { (Array.isArray(item1[Key]) && Array.isArray(item2[Key]))) {
if (!isEq(item1[Key], item2[Key])) { if (!isEq(item1[Key], item2[Key])) {
return false; return false;
break;
}; };
} else { } else {
return false; return false;
break;
}; };
}; };
}; };

Loading…
Cancel
Save