carbon/build/static/lsm.js

11 lines
175 B
JavaScript

function get(name) {
return localStorage.getItem(name)
}
function set(name, value) {
return localStorage.setItem(name, value)
}
window.lsm = {get, set}
export {get, set}