JSFiddle - React, Tailwind, and code Playground

by JBDouble05

JavaScript

const LHS = {
  a: "Something a",
  b: "Something b",
  c: {
    a: "Something a"
  }
}

let RHS = {
  a: "Something a",
  c: {
    a: "Something a"
  }
}

both = _.merge(_.cloneDeep(LHS), RHS);

console.log(_.isEqual(both, LHS));