UNPKG

fast-check

Version:

Property based testing framework for JavaScript (like QuickCheck)

5 lines (4 loc) 223 B
const internalGlobalThis = (function (global) { return global.globalThis ? global.globalThis : global; })(typeof this === 'object' ? this : Function('return this')()); export const getGlobal = () => internalGlobalThis;