Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript set localstorage

// SET
localStorage.setItem('myCat', 'Link');

// GET
let aValue = localStorage.getItem('myCat');
 
PREVIOUS NEXT
Tagged: #javascript #set #localstorage
ADD COMMENT
Topic
Name
6+2 =