HTML Editor
<!DOCTYPE html> <html lang="en-US"> <body> <p>Click on the button and check your console (Press P12)</p> <button onclick="myFunction()">Click Me</button> <script> function myFunction(){ console.log(document.defaultView); } </script> </body> </html>
OUTPUT
×

Save as Private