IOTConnect-Web/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
2024-05-09 09:49:52 +08:00

8 lines
274 B
JavaScript

export default function _isNativeReflectConstruct() {
try {
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
} catch (t) {}
return (_isNativeReflectConstruct = function _isNativeReflectConstruct() {
return !!t;
})();
}