title: Can not delete a specific cookie on Chrome by using document.cookie
body: <p>I want to delete a cookie named "_ga" which is a cookie of Google Analytics programatically.
  * jQuery is not an option this time.</p>
  
  <p>I understand we can delete a cookie by 1) setting a past expiration date 2) setting max-age=0. (<a href="https://stackoverflow.com/questions/2144386/how-to-delete-a-cookie">reference</a>)</p>
  
  <p>However, when I tried on Chrome, it doesn't delete the cookie.
  To test its behavior, I set another cookie with the same name with null value.</p>
  
  <pre><code>document.cookie = "_ga=;";
  </code></pre>
  
  <p>I assume it will overwrite the existing cookie with the same name, but both cookies exist.</p>
  
  <pre><code>&gt;document.cookie
  &lt;- "_ga=GA1.3.1150830279.1524399211; _ga="
  </code></pre>
  
  <p>Is it an expected behavior? If yes, how can I delete the cookies?</p>