Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What is the lifetime of the data stored through localStorage?

  2. A.

     Permanant

    B.

     Temporary

    C.

     Both Permanant and Temporary at times

    D.

     Cannot store

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    Data stored through localStorage is permanent: it does not expire and remains stored on the user’s computer until a web app deletes it or the user asks the browser (through some browser-specific UI) to delete it.


Be The First To Comment