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