Carbon/src/js/lsm.js

12 lines
175 B
JavaScript
Raw Normal View History

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