You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
308 B

3 months ago
  1. function _isNativeReflectConstruct() {
  2. try {
  3. var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
  4. } catch (t) {}
  5. return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {
  6. return !!t;
  7. })();
  8. }
  9. export { _isNativeReflectConstruct as default };