Hi everyone, and welcome to another exciting edition of Boring JavaScript! The video for today deals with the ‘globalThis’ object – a wonderful way to access that root JavaScript object no matter what environment you are located. Node? Browser? Web Worker? HA! Doesn’t matter – ‘globalThis’ will give you the correct object without all the fuss of writing code to figure it out yourself.
You can check out the video here:
Shameless Plug
Check out all our videos at: https://www.boringjavascript.com
Github Repository: https://github.com/TheVirtuoid/boringjavascript
Check out everything at: https://www.thevirtuoid.com
Facebook: https://www.facebook.com/TheVirtuoid
Twitter: https://twitter.com/TheVirtuoid
YouTube: https://www.youtube.com/channel/UCKZ7CV6fI7xlh7zIE9TWqgw
Discord: https://discord.gg/M2Hb6r628r
Categories: Boring JavaScript Javascript
thevirtuoid
Web Tinkerer. No, not like Tinkerbell.
Creator of the game Virtuoid. Boring JavaScript. Visit us at thevirtuoid.com
Leave a Reply