- 1

How to delete object from localStorage in Javascript

Hey guys hope you all are doing great i have a question how can i remove a specific object feom the browser local storage

23rd Jun 2021, 1:23 PM
Hussain Ali
Hussain Ali - avatar
2 odpowiedzi
+ 2
Hussain Ali Try localStorage.removeItem("item_key");
23rd Jun 2021, 2:21 PM
A͢J
A͢J - avatar
0
Val Bucket There are only two storage 1 - localStorage 2 - sessionStorage What is internalStorage?
23rd Jun 2021, 5:23 PM
A͢J
A͢J - avatar