UNPKG

564 BJavaScriptView Raw
1var _Reflect$construct = require("@babel/runtime-corejs2/core-js/reflect/construct");
2function _isNativeReflectConstruct() {
3 if (typeof Reflect === "undefined" || !_Reflect$construct) return false;
4 if (_Reflect$construct.sham) return false;
5 if (typeof Proxy === "function") return true;
6 try {
7 Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {}));
8 return true;
9 } catch (e) {
10 return false;
11 }
12}
13module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports;
\No newline at end of file