Compares this object against another one returning a difference between them.
Properties which are present in this object but are not in
properties
, are put to the result as property name to
null mappings. Properties which are present only in
properties
but not in this object, are added to the result. Also result will include those properties which are present in both objects but have different values; in this case result will include such properties with values from
properties
.
@param properties another properties object
@return properties object holding the properties difference