Menu Home

globalThis

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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: