Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. The localStorage and sessionStorage belongs to

  2. A.

     Window object

    B.

     Element object

    C.

     Hash object

    D.

     DOM object

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    Browsers that implement the “Web Storage” draft specification define two properties on the Window object: localStorage and sessionStorage. Both properties refer to a Storage object—a persistent associative array that maps string keys to string values.


Be The First To Comment