Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Check if local storage is used or empty

if (localStorage.length > 0){
    //Items are stored in local storage
}else{
    //Local storage is empty
}
Source by spicyyoghurt.com #
 
PREVIOUS NEXT
Tagged: #Check #local #storage #empty
ADD COMMENT
Topic
Name
6+4 =