Because my code will need to run this a lot, I need a very fast code to get the difference between 2 objects. Deleted properties should have a value of "deleted".
Example:
Object 1
{a: "hi", b: "hi", c: {o: "hi", p: "hi",}, d: ["hi", "bye"]}
Object 2
{a: "hi", b: "bye", c: {o: "bye",}, e: "new"}
Result
{b: "bye", c: {o: "bye", p: "deleted"}, d: "deleted", e: "new"}