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!