tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

console-string-format-specifier-symbol-manual.html (788B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>Console String Format Specifier on Symbols</title>
      5 <meta name="author" title="Dominic Farolino" href="mailto:domfarolino@gmail.com">
      6 <meta name="assert" content="Console format specifiers on Symbols">
      7 <link rel="help" href="https://console.spec.whatwg.org/#formatter">
      8 </head>
      9 <body>
     10 <p>Open the console inside the developer tools. It should contain five entries, each of which are:</p>
     11 <p><code>Symbol(description)</code></p>
     12 
     13 <script>
     14 console.log("%s", Symbol.for("description"));
     15 console.dirxml("%s", Symbol.for("description"));
     16 console.trace("%s", Symbol.for("description"));
     17 console.group("%s", Symbol.for("description"));
     18 console.groupEnd();
     19 console.groupCollapsed("%s", Symbol.for("description"));
     20 console.groupEnd();
     21 </script>
     22 </body>
     23 </html>