Answers for "set item localstorege"

2

set localstorage value

localStorage.setItem("mytime", Date.now());
Posted by: Guest on March-10-2020
0

set localstorage

function set(){
    var sendJson = JSON.stringify(arrayName);
    localStorage.setItem('key',sendJson)
}
Posted by: Guest on October-07-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language