()
| 84 | return _setPrototypeOf(o, p); |
| 85 | } |
| 86 | function _isNativeReflectConstruct() { |
| 87 | if (typeof Reflect === "undefined" || !Reflect.construct) return false; |
| 88 | if (Reflect.construct.sham) return false; |
| 89 | if (typeof Proxy === "function") return true; |
| 90 | try { |
| 91 | Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); |
| 92 | return true; |
| 93 | } catch (e) { |
| 94 | return false; |
| 95 | } |
| 96 | } |
| 97 | function _construct(Parent, args, Class) { |
| 98 | if (_isNativeReflectConstruct()) { |
| 99 | _construct = Reflect.construct.bind(); |
no outgoing calls
no test coverage detected