Which of the following is the correct way to test for the presence of a cookie?
A.
test(document.cookie);
B.
alert(document.cookie);
C.
document.cookie
D.
prompt(document.cookie);
Which of the following is the correct way to test for the presence of a cookie?
Which of the following is the correct way to test for the presence of a cookie?
A.
test(document.cookie);
B.
alert(document.cookie);
C.
document.cookie
D.
prompt(document.cookie);