How to clear session storage data with specified session storage item ?
We can achieve this by using Window sessionStorage( ) property. The Window sessionStorage() property is used for saving key/value pairs in a web browser. It stores the key/value pairs in a browser for only one session and the data expires as soon as a new session is loaded.
We can get specified session storage using the getItem() method.
We can clear the session storage by using the clear() method.