Script Page

Excerpt

This page is a playground to run javascript in the context of the browser. To use it for exploring the features and add documentation and console logs on one page that can be printed.

The page here contains a script block that is made visible.

All console output from the script is captured and displayed beyond.

It uses some of the techniques of the advent stories of this year:

  1. Implementing default values for function parameters
  2. Standard console.logging
  3. Top Level Scripting
  4. Filtering console.logging
  5. Variables in the Global Space
  6. Details and Summary HTML Objects

Have a look into the implementation using the ctrl-u shortcut to view the page source and navigate into the files 23scriptpage.js and 23scriptpage.css.

Happy debugging ...

Buttons

Script & Log

    // https://developer.mozilla.org/en-US/docs/Web/API/Crypto/randomUUID
    // console.log(window.crypto.randomUUID());