How to clear cookies when logging out of firebase?
<p>I have a log out button:</p>

<pre><code>&lt;input type="submit" onclick=logUserOut() value="Log out"&gt;
</code></pre>

<p>and am using the firebase sign out method</p>

<pre><code>function logUserOut(){
      firebase.auth().signOut().then(function() {
        console.log("Sign-out successful.");
      }, function(error) {
        console.log("An error happened.");
      });
    }
</code></pre>

<p>but in the console before I log out and after I log out when I type</p>

<pre><code>document.cookie
</code></pre>

<p>I get</p>

<pre><code>"useruid=GH39ayyIFkaBrEe2JpsXWtPyZRG2"
</code></pre>

<p>Surely this should clear cookies? and if not, how can i do this?</p>