-
-
Notifications
You must be signed in to change notification settings - Fork 96
Closed
Description
Hi guys! First of all, great work on this project!
I was thinking if you find it useful to keep arrays as arrays on the resulting diff object, something like:
let difference = diff(l[key], r[key])
if (Array.isArray(l[key])) {
difference = Object.entries(difference).map(d => d[1])
}
If it's interesting to you I can submit a PR to do that!
webyonet, odama626, popojargo, WilliamJns, theharshin and 6 more
Metadata
Metadata
Assignees
Labels
No labels