Which of the following code snippets deletes cookie correctly?
Correct Answer: var mydate = new Date(); mydate.setTime(mydate.getTime() - 1); document.cookie = "username=; expires=" + mydate.toGMTString();
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More JavaScript MCQ Questions