Question : getItem local storage doesnt exist
Answered by : strange-starling-vnnhv6kxz6am
if (localStorage.getItem("username") === null) { //...
}
Source : https://stackoverflow.com/questions/16010827/html5-localstorage-checking-if-a-key-exists | Last Update : Mon, 16 Nov 20