Sha256: 3d95283c374b52bc2e16138e85470857beafee4a2710dfd12dfc70bfd9dc5723
Contents?: true
Size: 394 Bytes
Versions: 29
Compression:
Stored size: 394 Bytes
Contents
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } module.exports = _isNativeReflectConstruct;
Version data entries
29 entries across 29 versions & 4 rubygems