EN
JavaScript - clear sessionStorage
3 points
In this article, we would like to show you how to clear sessionStorage object using JavaScript.
Quick solution:
xxxxxxxxxx
1
sessionStorage.clear();
Note:
sessionStorage
is global web browser object, so it can be called usingwindow.sessionStorage
too.