javascript local storage remove item code example
Example 1: javascript localstorage
var KeyName = window.localStorage.key(index);
Example 2: get localstorage value
localStorage.getItem('bgcolor');
var KeyName = window.localStorage.key(index);
localStorage.getItem('bgcolor');