Access to browser globals

We recently made a small enhancement to our runtime: you can now directly access any browser global from your notebook!

Previously, we had a hardcoded list of about 80 reserved globals (such as Array, Boolean, Date, etc.). Any global not on this list had to accessed off of the window object, such as window.URLSearchParams.

Now you can directly access any global defined by your browser, such as DOMMatrix, SharedArrayBuffer, Path2D, and about 900 more! And browser globals are now syntax-highlighted and autocompleted.

If you found yourself typing “window.” a lot previously, rejoice in saving a few keystrokes!


Love it!

Now you just need a notebook linked from each list item demonstrating wtf it is and how to use it. :wink:

1 Like