ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 218 - Certified JavaScript Developer I discussion

Report
Export

A developer tries to retrieve all cookies, then sets a certain key value pair in the cookie. These statements are used:

What is the behavior?

A.
Cookies are read, but the key value is not set because the value is not URL encoded.
Answers
A.
Cookies are read, but the key value is not set because the value is not URL encoded.
B.
Cookies are not read because line 01 should be document, cookies, but the key value is set and all cookies are wiped.
Answers
B.
Cookies are not read because line 01 should be document, cookies, but the key value is set and all cookies are wiped.
C.
A Cookies are read and the key value is set, the remaining cookies are unaffected.
Answers
C.
A Cookies are read and the key value is set, the remaining cookies are unaffected.
D.
Cookies are read and the key value is set, and all cookies are wiped.
Answers
D.
Cookies are read and the key value is set, and all cookies are wiped.
Suggested answer: C
asked 23/09/2024
Adrian Chirtoc
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first