UNPKG

@honor-minigame/cli

Version:

honor minigame pack cli

12 lines (11 loc) 384 B
function _isNativeReflectConstruct () { if (typeof Reflect === 'undefined' || !Reflect.construct) return !1 if (Reflect.construct.sham) return !1 if (typeof Proxy === 'function') return !0 try { return (Date.prototype.toString.call(Reflect.construct(Date, [], function () {})), !0) } catch (t) { return !1 } } module.exports = _isNativeReflectConstruct