0

Clearing values in the localStorage: how to do this?

How is it possible to clear all values stored in the localStorage? Can anybody fill in the blanks in this combination? localStorage. (); localStorage. setItem( , ); Thanking you all in advance :)

9th Oct 2016, 8:18 PM
Erol
Erol - avatar
1 Odpowiedź
0
This is what I found to work. *********************************** localStorage.clear() localStorage.setItem("b","a"); ***********************************
23rd Sep 2017, 1:16 AM
Dustin Frost
Dustin Frost - avatar