What's the default setting for the expires attribute of the document.cookie property?

  1. The duration the current document stays loaded.

  2. Twenty-four hours from the time the cookie is set.

  3. There is no default setting.

  4. The duration of the browser session.


Correct Option: D

Find more quizzes: