Remove cookie problems JS-COOKIE
<p>JS Cookies remove cookie, undefined</p>

<p>Hi Guys, I have trying to remove a cookie from a domain but I can't, the console return undefined. </p>

<p>When I log in the cookie is set up in .dev.books.com but after that the URL change to platform.dev.books.com and keep the same cookies.  The name of the cookie I want to remove is bookId, here is my try:</p>

<pre><code>Cookies.set('bookId', ' ');
</code></pre>

<p>But instead to change the cookie value, create a new one with the domain platform.dev.books.com</p>

<p>If I use </p>

<pre><code>Cookie.remove('bookId') 
</code></pre>

<p>the console return undefined</p>

<p>Thanks, any help will be helpful</p>