MCPcopy
hub / github.com/basecamp/trix / _isNativeReflectConstruct

Function _isNativeReflectConstruct

action_text-trix/app/assets/javascripts/trix.js:5102–5109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5100 return n.default = e, t && t.set(e, n), n;
5101 }
5102 function _isNativeReflectConstruct() {
5103 try {
5104 var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
5105 } catch (t) {}
5106 return (_isNativeReflectConstruct = function () {
5107 return !!t;
5108 })();
5109 }
5110 function _iterableToArrayLimit(r, l) {
5111 var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
5112 if (null != t) {

Callers 3

_callSuperFunction · 0.85
_constructFunction · 0.85
trix.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…