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 - avatar
1 Answer
This is what I found to work. *********************************** localStorage.clear() localStorage.setItem("b","a"); ***********************************
23rd Sep 2017, 1:16 AM
Dustin Frost
Dustin Frost - avatar