Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the Document</title> </head> <body> <script> for(let j = 0; j < localStorage.length; j++) { let key = localStorage.key(j); alert(`${key}: ${localStorage.getItem(key)}`); } </script> </body> </html>