We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add diff function
diff
Diff 2 objects
const a = { a: 1, b: 2, c: 3 }; const b = { a: 2, c: 3, d: 4 }; diff(a, b); // { // "removal": { // "total": 1, // "keys": [ // "b" // ] // }, // "addition": { // "total": 1, // "keys": [ // "d" // ] // }, // "changes": { // "total": 1, // "keys": [ // "a" // ] // }, // "original": { // "a": 1, // "b": 2, // "c": 3 // }, // "changed": { // "a": 2, // "c": 3, // "d": 4 // } // }
The text was updated successfully, but these errors were encountered:
After some prototyping this is kinda pointless/useless
Sorry, something went wrong.
No branches or pull requests
Add
diff
functionDiff 2 objects
The text was updated successfully, but these errors were encountered: