Can't able to check two date values are equal or not in typescript : <pre><code>var d1 = new Date("02/22/2018");
var d2 = new Date("02/22/2018");
if(d1 == d2){

}
</code></pre>

<p>** - this is not working. its always return false. but if I write a condition 
   as bellow then its working fine.**</p>

<pre><code>if(d1 &lt;= d2 &amp;&amp; d1 &gt;= d2){

       }
</code></pre>
