Answers for "working with local storage without javascript"

4

get localstorage

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

how to get variable in local storage in javascript

localStorage.getItem('id');
Posted by: Guest on February-28-2020

Code answers related to "working with local storage without javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language