var x = {name:'james',email:'[email protected]',tel:999};
var y = {name:'james',email:'[email protected]',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.