pub fn insert( &self, key: &str, value: &str ) -> Result< (), TODO > {
        js!( @(no_return)
            @{self}.setItem( @{key}, @{value} );
        );

        Ok(())
    }
/// Inserts a key-value pair into the storage.
///
/// [(JavaScript docs)](https://developer.mozilla.org/en-US/docs/Web/API/Storage/setItem)
// https://html.spec.whatwg.org/#the-storage-interface:dom-storage-setitem
Inserts a key-value pair into the storage.
Inserts a key - value pair into the storage .
pub fn insert( &self, key: &str, value: &str ) -> Result< (), TODO > {
        js!( @(no_return)
            @{self}.setItem( @{key}, @{value} );
        );
        Ok(())
    }
pub fn insert ( & self , key : & str , value : & str ) -> Result < ( ) , TODO > { js ! ( ( no_return ) { self } setItem ( { key } { value } ) ) ; Ok ( ( ) ) }
Inserts a key-value pair into the storage.
Inserts a key - value pair into the storage .
&self
key
&str
value
&str
&self
key
&str
value
&str