How to get Hash value of an object in Typescript?
<p>How to get hash value of an object in typescript. </p>

<p>For example :</p>

<pre><code>let user:any = {name:'tempuser', age:'29'};
let anotheruser:any = {name:'iam', age:'29'};
if( Object.GetHashCode(user) === Object.GetHashCode(anotheruser)){
   alert('equal');
}
</code></pre>

<p>also we can identify the object whether it is modified or not. </p>