Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the Document</title> </head> <body> <script> // set key localStorage.test = 2; // get key alert(localStorage.test); // 2 // remove key delete localStorage.test; </script> </body> </html>