local storage javascript syntax code example
Example 1: localstorage
var cat = localStorage.getItem('myCat');
Example 2: javascript localstorage
var KeyName = window.localStorage.key(index);
var cat = localStorage.getItem('myCat');
var KeyName = window.localStorage.key(index);