js window.localStorage unsetitem code example
Example: localstorage js
// Set
localStorage.setItem('monChat', 'Tom');
// Get
localStorage.getItem('myCat');
// Remove
localStorage.removeItem('myCat');
// Set
localStorage.setItem('monChat', 'Tom');
// Get
localStorage.getItem('myCat');
// Remove
localStorage.removeItem('myCat');