@quick-game/cli
Version:
Command line interface for rapid qg development
12 lines (11 loc) • 373 B
JavaScript
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