Skip to content

Glossary: TypeScript Beyond the Basics

globalThis

The global object in both Node and browsers. Only `var` declarations become its properties.

Where the book teaches it

Related terms

declare global