add deepEqual
GrosSacASac opened this issue · 5 comments
GrosSacASac commented
draft
function e(a, b) {
if (Object.is(a, b)) {
return true;
}
if (typeof a !== 'object' || a === null ||
typeof b !== 'object' || b === null) {
return false;
}
const keysA = Object.keys(a);
const keysB = Object.keys(b);
if (keysA.length !== keysB.length) {
return false;
}
forEach ...
return true;
}
jmeline commented
I'll give it a shot
GrosSacASac commented
mhm good :)
jmeline commented
PR is up. I most likely missed things such as styling. Let me know what I need to fix up. Thanks!
GrosSacASac commented
we will define the details in follow-up issues/commits
GrosSacASac commented
I made several adjustments to have consistent style across the project