Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _.reduce(obj1, (result, value, key) => {
- const variantValue = obj2[key];
- return _.isEqual(value, variantValue) ? result : result.concat(value);
- }, []);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement