1.

What is the lifetime of the data stored through localStorage?(a) Permanent(b) Temporary(c) Both Permanent and Temporary at times(d) Cannot store

Answer» Correct answer is (a) Permanent

Easiest 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. This data is stored on the client side server and is used for faster access of data.


Discussion

No Comment Found

Related InterviewSolutions