summaryrefslogtreecommitdiff
path: root/node_modules/@babel/helpers/lib/helpers/isNativeReflectConstruct.js
blob: 8a014fab9693bc7c483652f7a8c1c1bffd60372e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = _isNativeReflectConstruct;
function _isNativeReflectConstruct() {
  try {
    var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
  } catch (e) {}
  return (exports.default = _isNativeReflectConstruct = function () {
    return !!result;
  })();
}

//# sourceMappingURL=isNativeReflectConstruct.js.map