// STRING // localStorage --> key : 'A' let a = localStorage.getItem('KEY'); // a = 'A' // ARRAYS let arr function getLocalStorage(){ const get = localStorage.getItem("KEY") if (get){ arr = JSON.parse(getLocalStorage) }