Question:What is the correct syntax of creating JavaScript cookie?
A cookie="name=value;[expires];[path];[domain];[secure]"
B document.cookie="name=value;[expires];[path];[domain];[secure]"
C window.cookie="name=value;[expires];[path];[domain];[secure]"
D document.cookie="name=value;[path];[expires];[domain];[secure]"
+ AnswerB
+ Report