11cb0ef41Sopenharmony_ci<!DOCTYPE html>
21cb0ef41Sopenharmony_ci<html>
31cb0ef41Sopenharmony_ci<head>
41cb0ef41Sopenharmony_ci<title>Console Number Format Specifiers on Symbols</title>
51cb0ef41Sopenharmony_ci<meta name="author" title="Dominic Farolino" href="mailto:domfarolino@gmail.com">
61cb0ef41Sopenharmony_ci<meta name="assert" content="Console format specifiers on Symbols">
71cb0ef41Sopenharmony_ci<link rel="help" href="https://console.spec.whatwg.org/#formatter">
81cb0ef41Sopenharmony_ci</head>
91cb0ef41Sopenharmony_ci<body>
101cb0ef41Sopenharmony_ci<p>Open the console inside the developer tools. It should contain 15 entries, each of which are:</p>
111cb0ef41Sopenharmony_ci<p><code>NaN</code></p>
121cb0ef41Sopenharmony_ci
131cb0ef41Sopenharmony_ci<script>
141cb0ef41Sopenharmony_ciconst methods = ["log", "dirxml", "trace", "group", "groupCollapsed"];
151cb0ef41Sopenharmony_ci
161cb0ef41Sopenharmony_cifor (method of methods) {
171cb0ef41Sopenharmony_ci  console[method]("%i", Symbol.for("description"));
181cb0ef41Sopenharmony_ci  if (method == "group" || method == "groupCollapsed") console.groupEnd();
191cb0ef41Sopenharmony_ci  console[method]("%d", Symbol.for("description"));
201cb0ef41Sopenharmony_ci  if (method == "group" || method == "groupCollapsed") console.groupEnd();
211cb0ef41Sopenharmony_ci  console[method]("%f", Symbol.for("description"));
221cb0ef41Sopenharmony_ci  if (method == "group" || method == "groupCollapsed") console.groupEnd();
231cb0ef41Sopenharmony_ci}
241cb0ef41Sopenharmony_ci</script>
251cb0ef41Sopenharmony_ci</body>
261cb0ef41Sopenharmony_ci</html>
27