biobulkbende.org/node_modules/engine.io-client/lib/globalThis.browser.js
2020-09-16 14:23:28 +02:00

10 lines
245 B
JavaScript

module.exports = (function () {
if (typeof self !== 'undefined') {
return self;
} else if (typeof window !== 'undefined') {
return window;
} else {
return Function('return this')(); // eslint-disable-line no-new-func
}
})();