param { string } scopeName export function storeItem ( scopeName , key , value ) { window . sessionStorage . setItem ( `${ scopeName }-${ key }` , JSON . stringify ( value ) ) ; } param { string } scopeName export function getItem ( scopeName , key ) { const value = window . sessionStorage . getItem ( `${ scopeName }-${ key }` ) ; return value ? JSON . parse ( value ) : undefined ; } param scopeName export function remove ( scopeName , key ) { window . sessionStorage . removeItem ( `${ scopeName }-${ key }` ) ; } export default { storeItem , getItem , remove } ;