DEV Community

Discussion on: How to remove a specific item from an array

Collapse
 
jonrandy profile image
Jon Randy 🎖️ • Edited

I agree it doesn't make sense to use filter for this, I was just pointing out it was perfectly possible despite what the OP said.

Also, I love writing code like this - code that challenges and exercises the grey matter. It's like code poetry. Sometimes not the best plan in production though 😋