@quick-game/cli
Version:
Command line interface for rapid qg development
13 lines (12 loc) • 500 B
JavaScript
Array.prototype.includes || Object.defineProperty(Array.prototype, 'includes', {
value: function (r, e) {
if (this == null) throw new TypeError('"this" is null or not defined')
var t = Object(this); var n = t.length >>> 0
if (n == 0) return !1
for (var i, o, a = 0 | e, u = Math.max(a >= 0 ? a : n - Math.abs(a), 0); u < n;) {
if ((i = t[u]) === (o = r) || typeof i === 'number' && typeof o === 'number' && isNaN(i) && isNaN(o)) return !0
u++
}
return !1
}
})