-
-
Notifications
You must be signed in to change notification settings - Fork 364
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
if (typeof (Array.prototype.remove) !== 'function') {
Array.prototype.remove = function(item) {
const index = this.indexOf(item);
if (index > -1) {
this.splice(index, 1);
}
return this;
}
}
this can breaks other libraries like luckyexcel. and all other library using for(var key in arr) alike code may be affected.
Expected Behavior
delete this prototype if possible.
Interactive render mode
Interactive Server (Interactive server-side rendering (interactive SSR) using Blazor Server)
Steps To Reproduce
no need.
Exceptions (if any)
No response
.NET Version
NET9.0
Anything else?
No response
ArgoZhangArgoZhang
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working