MCQs > IT & Programming > HTML 5 > Correct way to store an object in a localStorage?

HTML 5 MCQs

Which of the following is the correct way to store an object in a localStorage?

Answer

Correct Answer: localStorage.setItem('testObject', JSON.stringify(testObject))

Explanation:

Note: This Question is unanswered, help us to find answer for this one

HTML 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

HTML 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it