var x = {name:'james',email:'james@j.com',tel:999};
var y = {name:'james',email:'james@j.com',tel:991};
How can I compare above x and y using loop? I'm expecting false because tel is not equal.
tried for in but found it's too messy to maintain later. Sad I couldn't use jquery.