• Return the difference between two nested objects.

    Parameters

    • one: object

      The first object to be compared.

    • two: object

      The second object to be compared.

    Returns [object, object]

    Two objects containing the fields that are different, each one with the values of one object.