Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the Document</title> </head> <body> <script> alert(sessionStorage.getItem('test')); // after refresh: 2 </script> </body> </html>