MCQs > IT & Programming > JavaScript > What's the output? if(typeof(Storage)!=='undefined') { localStorage.age=5; sessionStorage.age=5; alert(localStorage.age + sessionStorage.age); } else { alert('Sorry, your browser does not support web storage...'); }

JavaScript MCQs

What is the output of the following code? if(typeof(Storage)!=="undefined") { localStorage.age=5; sessionStorage.age=5; alert(localStorage.age + sessionStorage.age); } else { alert("Sorry, your browser does not support web storage..."); }

Answer

Correct Answer: 55

Explanation:

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

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it