how typescript comparing two objects?
originaltraits:{
artistic:25,
athletic:24,
goodLooks:70,
happiness:0,
health:81
}
newtraits:{
artistic:25,
athletic:24,
goodLooks:70,
happiness:0,
health:81
}
I have these two objects I want to compare these objects' fields not using object reference in Angular then how to compare?