What is document.co…
 
Notifications
Clear all

What is document.cookie() ?

2 Posts
3 Users
0 Likes
332 Views
0
Topic starter

🤔

2 Answers
0

document.cookie is a property of the JavaScript Document object that allows you to get and set cookies associated with the current document. Cookies are small pieces of data that are stored on the user’s computer by the web browser. They are often used to store information such as user preferences or login credentials.

0

The Document property cookie lets you read and write cookies associated with the document. It serves as a getter and setter for the actual values of the cookies.

Share: