Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to check localstorage not set

if (localStorage.getItem("someName") === null) {
 // your code
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #localstorage #set
ADD COMMENT
Topic
Name
3+4 =