Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the Document</title> </head> <body> <script> // bad try for(let key in localStorage) { alert(key); // shows getItem, setItem and other built-in things } </script> </body> </html>