13 lines
564 B
JavaScript
13 lines
564 B
JavaScript
var _Reflect$construct = require("@babel/runtime-corejs2/core-js/reflect/construct");
|
|
function _isNativeReflectConstruct() {
|
|
if (typeof Reflect === "undefined" || !_Reflect$construct) return false;
|
|
if (_Reflect$construct.sham) return false;
|
|
if (typeof Proxy === "function") return true;
|
|
try {
|
|
Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {}));
|
|
return true;
|
|
} catch (e) {
|
|
return false;
|
|
}
|
|
}
|
|
module.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports["default"] = module.exports; |