Home / CSE MCQs / Javascript MCQs :: Discussion

Discussion :: Javascript MCQs

  1. Which of the following defines the Cookie visibility?
  2. A.
    Document Path
    B.
    localStorage
    C.
    sessionStorage
    D.
    All of the mentioned

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    Cookie visibility is scoped by document origin as localStorage and sessionStorage are, and also by document path.


Be The First To Comment