PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

A.
test(document.cookie);

B.
alert(document.cookie);

C.
document.cookie

D.
prompt(document.cookie);


Leave a Reply