What is the main difference between localStorage and sessionStorage?
(a) Lifetime
(b) Scope
(c) Both Lifetime and Scope
(d) Storage Location
I have been asked this question in class test.
I want to ask this question from Client-Side Storage in chapter Server-Side and Client-Side Scripting of JavaScript
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)