window.localstorage only stores data in one place code example
Example: my local storage
/* function for setIetm to local storage */
function set(){
var sendJson = JSON.stringify(allwish);
localStorage.setItem("wishKay",sendJson);
}
/* function for setIetm to local storage */
function set(){
var sendJson = JSON.stringify(allwish);
localStorage.setItem("wishKay",sendJson);
}