0 votes
in JavaScript by
How can you use JavaScript to delete a cookie?

1 Answer

0 votes
by
If you wish to delete a cookie so that any subsequent attempts made to read the cookie will not return anything, then, you have to set an expiration date of the cookie to a past time.
...