Answers for "remove sessionstorage"

7

remove localstorage

localStorage.removeItem("key");
Posted by: Guest on October-18-2020
2

remove session storage

sessionStorage.removeItem('key');
Posted by: Guest on June-18-2021
12

javascript localStorage clear items

localStorage.clear();//this clears the localStorage completely
Posted by: Guest on April-01-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language