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
Date, etc.). Any global not on this list had to accessed off of the
window object, such as
Now you can directly access any global defined by your browser, such as
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!