cookie

external var cookie: String(source)

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.

MDN Reference