can Java Script Access Cookies
Indicates whether JavaScript code is allowed to read/write cookies in the browser cookies storage.
By default, JavaScript is allowed to read/write cookies in the cookies storage using document.cookie
property.
If JavaScript is not allowed to read/write cookies then document.cookie
will return an empty string, and document.cookie='test-cookie=test'
will not change cookies in the cookies storage.
Since
8.0.0