ZoomInfo Interview Question

how would you compared two objects in Javascript