title: Comparing two same dates in Javascript
body: <p>I tried comparing 2 same dates in the chrome console:</p>
  <p>new Date(&quot;2021-06-23&quot;) == new Date(&quot;2021-06-23&quot;)</p>
  <p>It is giving false</p>
  <p>new Date(&quot;2021-06-23&quot;) &gt; new Date(&quot;2021-06-23&quot;)</p>
  <p>It is giving false</p>
  <p>But, new Date(&quot;2021-06-23&quot;) &gt;= new Date(&quot;2021-06-23&quot;)</p>
  <p>It is giving true</p>
  <p>I couldn't understand why it is giving true for greater than or equal to but false for both greater than also and for equals to as well.</p>
  <p>Please explain.</p>