mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-23 20:26:28 +00:00
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;
|
||
|
})();
|
||
|
}
|