UNPKG

es-toolkit

Version:

A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

11 lines (9 loc) 326 B
const globalThis_ = (typeof globalThis === 'object' && globalThis) || (typeof window === 'object' && window) || (typeof self === 'object' && self) || (typeof global === 'object' && global) || (function () { return this; })() || Function('return this')(); export { globalThis_ as globalThis };