console-count-logging-manual.html (704B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>Console Count - Logging Manual Test</title> 5 <meta name="author" title="Dominic Farolino" href="mailto:domfarolino@gmail.com"> 6 <meta name="assert" content="Console count method default parameter should work"> 7 <link rel="help" href="https://console.spec.whatwg.org/#count"> 8 </head> 9 <body> 10 <p>Open the console inside the developer tools. It should contain four entries whose contents are:</p> 11 <p><code>default: 1</code></p> 12 <p><code>default: 2</code></p> 13 <p><code>default: 3</code></p> 14 <p><code>default: 4</code></p> 15 16 <script> 17 console.count(); 18 console.count(undefined); 19 console.count("default"); 20 console.count({toString() {return "default"}}); 21 </script> 22 </body> 23 </html>