Local Storage
Browsers store variables in the local storage as strings, so you have to parse them into JSON or use strings.
//to getlet myVar = window.localStorage.getItem('myVar');
//to setwindow.localStorage.setItem("myVar", myVar);Browsers store variables in the local storage as strings, so you have to parse them into JSON or use strings.
//to getlet myVar = window.localStorage.getItem('myVar');
//to setwindow.localStorage.setItem("myVar", myVar);