This commit is contained in:
2024-08-22 12:53:28 +08:00
commit 1d65a849fd
360 changed files with 41757 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
Array.prototype.includes || Object.defineProperty(Array.prototype, "includes", {
value: function(r, e) {
if (null == this) throw new TypeError('"this" is null or not defined');
var t = Object(this), n = t.length >>> 0;
if (0 == n) return !1;
for (var i, o, a = 0 | e, u = Math.max(0 <= a ? a : n - Math.abs(a), 0); u < n; ) {
if ((i = t[u]) === (o = r) || "number" == typeof i && "number" == typeof o && isNaN(i) && isNaN(o)) return !0;
u++;
}
return !1;
}
});