Answers for "loop localstorage"

0

loop localstorage

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

    Object.keys(localStorage).forEach(function (key) {
      if (key.match(re)) {
        //do something
      }
    });
Posted by: Guest on July-01-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language