fix
This commit is contained in:
parent
27ddea0730
commit
98e59a4427
|
@ -8487,7 +8487,7 @@
|
||||||
enumerable:false,
|
enumerable:false,
|
||||||
writable:true,
|
writable:true,
|
||||||
value:function(){
|
value:function(){
|
||||||
for(const i of arguments) this.add(...i);
|
for(const i of Array.from(arguments)) this.add(...i);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -8509,7 +8509,7 @@
|
||||||
enumerable:false,
|
enumerable:false,
|
||||||
writable:true,
|
writable:true,
|
||||||
value:function(){
|
value:function(){
|
||||||
for(const i of arguments) this.add(...i);
|
for(const i of Array.from(arguments)) this.remove(...i);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
Object.defineProperty(Array.prototype,"unique",{
|
Object.defineProperty(Array.prototype,"unique",{
|
||||||
|
|
Loading…
Reference in New Issue