11cb0ef41Sopenharmony_ci<!DOCTYPE html>
21cb0ef41Sopenharmony_ci<html>
31cb0ef41Sopenharmony_ci<head>
41cb0ef41Sopenharmony_ci<title>Console Count - Logging Manual Test</title>
51cb0ef41Sopenharmony_ci<meta name="author" title="Dominic Farolino" href="mailto:domfarolino@gmail.com">
61cb0ef41Sopenharmony_ci<meta name="assert" content="Console count method default parameter should work">
71cb0ef41Sopenharmony_ci<link rel="help" href="https://console.spec.whatwg.org/#count">
81cb0ef41Sopenharmony_ci</head>
91cb0ef41Sopenharmony_ci<body>
101cb0ef41Sopenharmony_ci<p>Open the console inside the developer tools. It should contain four entries whose contents are:</p>
111cb0ef41Sopenharmony_ci<p><code>default: 1</code></p>
121cb0ef41Sopenharmony_ci<p><code>default: 2</code></p>
131cb0ef41Sopenharmony_ci<p><code>default: 3</code></p>
141cb0ef41Sopenharmony_ci<p><code>default: 4</code></p>
151cb0ef41Sopenharmony_ci
161cb0ef41Sopenharmony_ci<script>
171cb0ef41Sopenharmony_ciconsole.count();
181cb0ef41Sopenharmony_ciconsole.count(undefined);
191cb0ef41Sopenharmony_ciconsole.count("default");
201cb0ef41Sopenharmony_ciconsole.count({toString() {return "default"}});
211cb0ef41Sopenharmony_ci</script>
221cb0ef41Sopenharmony_ci</body>
231cb0ef41Sopenharmony_ci</html>
24