onsa
1/16/2017 - 3:56 PM

localStorage and sessionStorage

localStorage and sessionStorage

var variable = storage.getItem(key);

storage.setItem(key, value);

storage.removeItem(key);

storage.clear();