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.

Related questions

0 votes
asked Oct 19, 2019 in JavaScript by SakshiSharma
+1 vote
asked Dec 4, 2019 in JavaScript by SakshiSharma
0 votes
asked Oct 19, 2019 in JavaScript by SakshiSharma
...