/// The `session_storage` property allows you to access a session [Storage](struct.Storage.html)
/// object for the current origin.
///
/// It is similar to the [Window::local_storage](struct.Window.html#method.local_storage),
/// The only difference is that, while data stored in `local_storage` has
/// no expiration time, data stored in `session_storage` gets cleared when
/// the browsing session ends.
///
/// A page session lasts for as long as the browser is open and survives over
/// page reloads and restores. Opening a page in a new tab or window will cause
/// a new session to be initiated, which differs from how session cookies work.
///
/// [(JavaScript docs)](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage)
// https://html.spec.whatwg.org/#the-sessionstorage-attribute:dom-sessionstorage
The `session_storage` property allows you to access a session [Storage](struct.Storage.html)
object for the current origin.

It is similar to the [Window::local_storage](struct.Window.html#method.local_storage),
The only difference is that, while data stored in `local_storage` has
no expiration time, data stored in `session_storage` gets cleared when
the browsing session ends.

A page session lasts for as long as the browser is open and survives over
page reloads and restores. Opening a page in a new tab or window will cause
a new session to be initiated, which differs from how session cookies work.


The ` session_storage ` property allows you to access a session [ Storage ] ( struct . Storage . html ) object for the current origin . It is similar to the [ Window :: local_storage ] ( struct . Window . html#method . local_storage ) The only difference is that while data stored in ` local_storage ` has no expiration time data stored in ` session_storage ` gets cleared when the browsing session ends . A page session lasts for as long as the browser is open and survives over page reloads and restores . Opening a page in a new tab or window will cause a new session to be initiated which differs from how session cookies work .
pub fn session_storage( &self ) -> Storage {
        unsafe {
            js!(
                return @{self.as_ref()}.sessionStorage;
            ).into_reference_unchecked().unwrap()
        }
    }
pub fn session_storage ( & self ) -> Storage { unsafe { js ! ( return { self as_ref ( ) } sessionStorage ) . into_reference_unchecked ( ) . unwrap ( ) } }
The `session_storage` property allows you to access a session [Storage](struct.Storage.html)
object for the current origin.
The ` session_storage ` property allows you to access a session [ Storage ] ( struct . Storage . html ) object for the current origin .
&self