A

Admin • 833.24K Points
Coach

Q. What is the main difference between localStorage and sessionStorage?

  • (A) Lifetime
  • (B) Scope
  • (C) Both Lifetime and Scope
  • (D) None of the mentioned

Explanation by: Admin

The difference between localStorage and sessionStorage has to do with lifetime and scope: how long the data is saved for and who the data is accessible to.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.