Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check local storage javascript

//Checks if item exists in localStorage
if (localStorage.getItem("nameOfItem") === null) {
  //...
}
 
PREVIOUS NEXT
Tagged: #check #local #storage #javascript
ADD COMMENT
Topic
Name
3+5 =