[Service] Integrate DeviceHome and SignalingServer
[platform/framework/web/wrtjs.git] / device_home / node_modules / engine.io-client / lib / globalThis.browser.js
1 module.exports = (function () {
2   if (typeof self !== 'undefined') {
3     return self;
4   } else if (typeof window !== 'undefined') {
5     return window;
6   } else {
7     return Function('return this')(); // eslint-disable-line no-new-func
8   }
9 })();