Avoid arrays. Sometimes, sets could be better

Опубликовано: 18 Май 2026
на канале: Luca Del Puppo
96
4

Learn how to prevent #performance issues by avoiding the #arrays' includes method and using a #set to check if a value exists in your collection.
Obviously, as always, only if you are coding with your lovely #javascript

You can find the source code here (https://github.com/Puppo/javascript-p...)

_______________________________
Hit like and subscribe for more content! :D

You can also follow me on the other platforms:

Twitter:   / puppo92  
dev.to: https://dev.to/puppo
GitHub: http://github.com/puppo

_______________________________

Thanks to:
Music by Pixabay (https://pixabay.com/it/users/music_un...) from Pixabay (https://pixabay.com//?utm_source=link...)

Canva (https://www.canva.com/)