what is a browsers local storage? same is dom? code example
Example 1: localstorage
var cat = localStorage.getItem('myCat');
Example 2: localstorage
localStorage.removeItem('myCat');
var cat = localStorage.getItem('myCat');
localStorage.removeItem('myCat');