DEV Community

Discussion on: Comparing Two Different Arrays

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

I saw something useful when creating an exlusion list. Use a Set on the second array to reduce complexity in code and speed things up. Perfect for es6 > targets