Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

loop localstorage

    const re = /[a-zA-Z]/g;

    Object.keys(localStorage).forEach(function (key) {
      if (key.match(re)) {
        //do something
      }
    });
 
PREVIOUS NEXT
Tagged: #loop #localstorage
ADD COMMENT
Topic
Name
7+8 =