local storage methods js code example
Example 1: javascript localstorage
var KeyName = window.localStorage.key(index);
Example 2: localstorage
localStorage.removeItem('myCat');
var KeyName = window.localStorage.key(index);
localStorage.removeItem('myCat');