Answers for "how to get item from local storage in js"

4

get localstorage

function get(){
    var getJson = localStorage.getItem('key')
    if(getJson){
        arrayName = JSON.parse(getJson)
    }
}
Posted by: Guest on October-07-2020
0

get local storage value javasccipt syntax

localStorage.getItem(keyname)
Posted by: Guest on August-12-2021

Code answers related to "how to get item from local storage in js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language