8 lines
274 B
JavaScript
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;
|
||
|
})();
|
||
|
}
|