Sichern Sie Cookie in JavaScript

document.cookie = "tagname = test;secure";
Undefined