| domfarolino | 83b4219 | 2017-03-25 00:24:09 | [diff] [blame] | 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> |
| Dominic Farolino | bce4f5d | 2018-06-07 04:57:52 | [diff] [blame] | 10 | <p>Open the console inside the developer tools. It should contain four entries whose contents are:</p> |
| domfarolino | 83b4219 | 2017-03-25 00:24:09 | [diff] [blame] | 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> |