forked from cadence/Carbon
11 lines
175 B
JavaScript
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}
|