init
This commit is contained in:
12
wx214944c362629fc7/@babel/runtime/helpers/Arrayincludes.js
Normal file
12
wx214944c362629fc7/@babel/runtime/helpers/Arrayincludes.js
Normal 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;
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user