loading...

re: Remove A Specific Element From An Array In Javascript VIEW POST

FULL DISCUSSION
 

I'd just point out that if you were trying to remove elements from an array that were infrequently found or unique then your performance test isn't reflective of what would happen with splice versus filter.

This performance test shows that difference.

 

Nice thanks for pointing that out!!!

code of conduct - report abuse